|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--aleph.comm.tcp.Connection | +--aleph.comm.tcp.AutoConnection
An AutoConnection is a connection from a PE to itself.
Fields inherited from class aleph.comm.tcp.Connection |
messagesSent |
Constructor Summary | |
AutoConnection()
Constructor for incoming connection. |
Method Summary | |
void |
close()
Close socket and let thread die naturally. |
void |
flush()
Flush output stream. |
boolean |
ping()
Ping output stream. |
protected Message |
receive()
Blocking method that pulls in the next message. |
void |
send(Message message)
Send'em a message. |
Methods inherited from class aleph.comm.tcp.Connection |
start |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AutoConnection()
socket
- use this socketMethod Detail |
public void close()
public void flush() throws java.io.InterruptedIOException
public boolean ping()
public void send(Message message) throws java.io.IOException
message
- what to sendprotected Message receive()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |