public abstract class ChannelAddress extends java.lang.Object implements FormatMarshaller
| Modifier and Type | Class and Description |
|---|---|
static class |
ChannelAddress.ChannelAddressType
An enumeration of all accepted marshallable subtypes.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ChannelManager |
connect(java.nio.channels.ByteChannel inChannel,
ChannelProtocol inProtocol)
Completes a connection made to the node.
|
abstract ChannelManager |
connect(ChannelProtocol inProtocol)
Opens a new connection to the node.
|
abstract ChannelListener |
listen(ChannelProtocolFactory inProtocolFactory)
Starts a listener on this address.
|
void |
marshall(ChannelAddress.ChannelAddressType type,
FormatWriter mFormat)
Write this object to a message output object.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmarshallpublic abstract ChannelListener listen(ChannelProtocolFactory inProtocolFactory) throws ConnectException
java.io.IOExceptionConnectExceptionpublic abstract ChannelManager connect(ChannelProtocol inProtocol) throws ConnectException
java.io.IOExceptionConnectExceptionpublic abstract ChannelManager connect(java.nio.channels.ByteChannel inChannel, ChannelProtocol inProtocol) throws ConnectException
java.io.IOExceptionConnectExceptionpublic void marshall(ChannelAddress.ChannelAddressType type, FormatWriter mFormat) throws FormatException
type - - The subtype information.mOutput - - The message output object.FormatException