Class SpaceSource

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​(LocalSpace sp, long timeout)  
      boolean isConnected()  
      void notify​(java.lang.String key, ISOMsg m)
      Called by Space implementation whenever an object with the given key is being placed in the Space.
      void send​(ISOMsg m)
      sends (or hands back) an ISOMsg
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • send

        public void send​(ISOMsg m)
                  throws java.io.IOException,
                         ISOException
        Description copied from interface: ISOSource
        sends (or hands back) an ISOMsg
        Specified by:
        send in interface ISOSource
        Parameters:
        m - the Message to be sent
        Throws:
        java.io.IOException
        ISOException
      • notify

        public void notify​(java.lang.String key,
                           ISOMsg m)
        Description copied from interface: SpaceListener

        Called by Space implementation whenever an object with the given key is being placed in the Space.

        Specified by:
        notify in interface SpaceListener<java.lang.String,​ISOMsg>
        Parameters:
        key - Object's key
        m - Object's value