Package | Description |
---|---|
com.hp.util.net.msg |
Building blocks for creating extensible, network-spanning, asynchronousmessage protocols.
|
Modifier and Type | Method and Description |
---|---|
Connection |
ConnectionBroker.accept(String name,
ConversationProvider resolver)
Host and accept a connection on the specified network port.
|
Connection |
ConnectionBroker.accept(String name,
ConversationProvider resolver,
ConnectionListener listener)
Host and accept a connection on the specified network port.
|
Connection |
ConnectionBroker.connect(String name,
String host,
int port,
ConnectionBroker.Transport transport,
ConversationProvider resolver)
Make a connection to the given host and on the specified network port.
|
Connection |
ConnectionBroker.connect(String name,
String host,
int port,
ConnectionBroker.Transport transport,
ConversationProvider resolver,
ConnectionListener listener)
Make a connection to the given host and on the specified network port.
|
Connection |
ConnectionBroker.connect(String name,
String host,
int port,
ConversationProvider resolver)
Make a plain-text connection to the given host and on the specified
network port.
|
Connection |
Conversation.connection()
Get the connection with which this conversation is associated.
|
Connection |
LocalConnectionPair.first()
External end-point of the local connection pair.
|
Connection |
LocalConnectionPair.second()
Internal end-point of the local connection pair.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionListener.connectionClosed(Connection connection,
Throwable error)
Notification of connection being closed.
|
void |
ConnectionListener.connectionError(Connection connection,
String message,
Throwable error)
Notification of a connection error.
|
protected void |
Conversation.setConnection(Connection connection)
Associate this conversation with the given connection.
|
Copyright © 2015. All Rights Reserved.