Class SpaceSource
java.lang.Object
org.jpos.space.SpaceSource
- All Implemented Interfaces:
Serializable, ISOSource, SpaceListener<String,ISOMsg>
public class SpaceSource
extends Object
implements ISOSource, SpaceListener<String,ISOMsg>, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(LocalSpace sp, long timeout) booleanvoidCalled by Space implementation whenever an object with the given key is being placed in the Space.voidsends (or hands back) an ISOMsg
-
Constructor Details
-
SpaceSource
-
-
Method Details
-
init
-
send
Description copied from interface:ISOSourcesends (or hands back) an ISOMsg- Specified by:
sendin interfaceISOSource- Parameters:
m- the Message to be sent- Throws:
IOExceptionISOException
-
isConnected
- Specified by:
isConnectedin interfaceISOSource- Returns:
- true if source is connected and usable
-
notify
Description copied from interface:SpaceListenerCalled by Space implementation whenever an object with the given key is being placed in the Space.
- Specified by:
notifyin interfaceSpaceListener<String,ISOMsg> - Parameters:
key- Object's keym- Object's value
-