public class SpaceSource extends java.lang.Object implements ISOSource, SpaceListener<java.lang.String,ISOMsg>, java.io.Serializable
| Constructor and Description |
|---|
SpaceSource(LocalSpace sp,
ISOSource source,
long timeout) |
| Modifier and Type | Method and 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
|
public SpaceSource(LocalSpace sp, ISOSource source, long timeout)
public void init(LocalSpace sp, long timeout)
public void send(ISOMsg m) throws java.io.IOException, ISOException
ISOSourcesend in interface ISOSourcem - the Message to be sentjava.io.IOExceptionISOExceptionpublic boolean isConnected()
isConnected in interface ISOSourcepublic void notify(java.lang.String key,
ISOMsg m)
SpaceListenerCalled by Space implementation whenever an object with the given key is being placed in the Space.
notify in interface SpaceListener<java.lang.String,ISOMsg>key - Object's keym - Object's value