C - application supplied contextpublic interface Connector<C>
| Modifier and Type | Method and Description |
|---|---|
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.
|
void process()
throws java.io.IOException
java.io.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()
Copyright © 2013 FuseSource, Corp.. All Rights Reserved.