|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConnectionEndPointReceiver
Handles data received from a remote IConnectionEndPoint.
Implementations should be efficient as the receive(byte[]) method
may tie up the thread handling the socket receive operations.
There should only be 1 receiver instance per end point.
| Nested Class Summary | |
|---|---|
static interface |
IConnectionEndPointReceiver.IFactory
Factory that creates IConnectionEndPointReceiver instances |
| Method Summary | |
|---|---|
void |
receive(byte[] data)
Handle data received from the remote end point. |
void |
setEndPointConnection(IConnectionEndPoint connectionEndPoint)
The end point this receiver is associated with. |
| Methods inherited from interface mirrormap.lifecycle.IDestroyable |
|---|
destroy |
| Method Detail |
|---|
void receive(byte[] data)
data - the datavoid setEndPointConnection(IConnectionEndPoint connectionEndPoint)
connectionEndPoint - the end point this receiver is for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||