|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
C - application supplied contextpublic interface Connector<C>
Client API
| Method Summary | |
|---|---|
void |
close()
Close the socket used by the connector. |
void |
destroy()
Destructor for the given connector. |
Connection |
getConnection()
Access the AMQP Connection associated with the connector. |
C |
getContext()
Access the application context that is associated with the connector. |
boolean |
isClosed()
Determine if the connector is closed. |
Listener |
listener()
Access the listener which opened this connector. |
void |
process()
Service the given connector. |
Sasl |
sasl()
Access the Authentication and Security context of the connector. |
void |
setConnection(Connection connection)
Assign the AMQP Connection associated with the connector. |
void |
setContext(C context)
Assign a new application context to the connector. |
| Method Detail |
|---|
void process()
throws IOException
IOExceptionListener listener()
Sasl sasl()
Connection getConnection()
void setConnection(Connection connection)
connection - the connection to associate with the connector.C getContext()
createConnector(String, int, Object) and
createConnector(java.nio.channels.SelectableChannel, Object).void setContext(C context)
context - new application context to associate with the connectorvoid close()
boolean isClosed()
void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||