|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--aleph.comm.CommunicationManager
The Communication Manager provides reliable, FIFO, point-to-point communication. It is an abstract class, meaning that the real work is done by a subclass.
aleph.Config#communicationManagers| Field Summary | |
protected static CommunicationManager |
theManager
The current communication manager. |
| Constructor Summary | |
CommunicationManager()
|
|
| Method Summary | |
abstract void |
close()
Shuts down this CommunicationManager |
abstract void |
flush(Address address)
Make sure all messages sent to address have been received |
abstract Address |
getAddress()
|
abstract Address |
getConsoleAddress()
The Console is the target for all I/O. |
static CommunicationManager |
getManager()
|
abstract Address |
getParentAddress()
Every PE has a parent. |
abstract boolean |
ping(Address address)
Is this connection still alive? |
abstract void |
send(Address address,
Message message)
Sends a message |
void |
send(PE pe,
Message message)
Sends a message |
static void |
setManager(java.lang.String newManager)
Change communication managers in mid-stream. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected static CommunicationManager theManager
| Constructor Detail |
public CommunicationManager()
| Method Detail |
public static CommunicationManager getManager()
public static void setManager(java.lang.String newManager)
public void send(PE pe,
Message message)
throws java.io.IOException
pe - destination PEmessage - what to sendpublic abstract Address getAddress()
public abstract Address getConsoleAddress()
public abstract Address getParentAddress()
public abstract void send(Address address,
Message message)
throws java.io.IOException
address - destination Addressmessage - what to sendpublic abstract void close()
public abstract void flush(Address address)
throws java.io.InterruptedIOException
address - connection to flushpublic abstract boolean ping(Address address)
address - connection to test
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||