|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface implemented by all endpoint classes
| Method Summary | |
void |
addEndpointMessageListener(EndpointMessageListener listener)
Adds a listener to receive data from this endpoint |
void |
close()
Closes the endpoint. |
java.net.URI |
getEndpointURI()
|
java.net.URI |
getSendURI()
|
void |
init()
initializes the endpoint |
boolean |
isClosed()
|
boolean |
isInputEndpoint()
|
boolean |
isOutputEndpoint()
|
void |
removeEndpointMessageListener(EndpointMessageListener listener)
Removes a listener from this endpoint |
void |
send(byte[] message)
Sends a message from the endpoint to the address the endpoint is bound to, with no sendid. |
void |
send(java.lang.String sendid,
byte[] message)
Sends a message from the endpoint to the address the endpoint is bound to, along with the send id for this message. |
| Method Detail |
public void init()
throws java.io.IOException
java.io.IOExceptionpublic java.net.URI getEndpointURI()
public java.net.URI getSendURI()
public boolean isInputEndpoint()
public boolean isOutputEndpoint()
public void addEndpointMessageListener(EndpointMessageListener listener)
public void removeEndpointMessageListener(EndpointMessageListener listener)
public void send(byte[] message)
throws java.io.IOException
java.io.IOException
public void send(java.lang.String sendid,
byte[] message)
throws java.io.IOException
java.io.IOException
public void close()
throws java.io.IOException
java.io.IOExceptionpublic boolean isClosed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||