| Modifier and Type | Field and Description |
|---|---|
| private SocketAddress | |
| private SocketAddress |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public SocketAddress | Returns: the destination address, ornull if not setGet the destination address. |
| public <A extends SocketAddress> A | Returns: the destination address, ornull if not setthe address type to get type)Get the destination address. |
| public SocketAddress | |
| public <A extends SocketAddress> A | Returns: the source address, ornull if not setthe address type to get type)Get the source address. |
| public void | setDestinationAddress(final SocketAddress
the destination address, or destinationAddress)null to clearSet the destination address. |
| public void | setSourceAddress(final SocketAddress
the source address, or sourceAddress)null to clearSet the source address. |
| destinationAddress | back to summary |
|---|---|
| private SocketAddress destinationAddress | |
| sourceAddress | back to summary |
|---|---|
| private SocketAddress sourceAddress | |
| SocketAddressBuffer | back to summary |
|---|---|
| public SocketAddressBuffer() Construct a new instance. | |
| clear | back to summary |
|---|---|
| public void clear() Clear both addresses in the buffer. | |
| getDestinationAddress | back to summary |
|---|---|
| public SocketAddress getDestinationAddress() Get the destination address.
| |
| getDestinationAddress | back to summary |
|---|---|
| public <A extends SocketAddress> A getDestinationAddress(Class<A> type) Get the destination address.
| |
| getSourceAddress | back to summary |
|---|---|
| public SocketAddress getSourceAddress() Get the source address.
| |
| getSourceAddress | back to summary |
|---|---|
| public <A extends SocketAddress> A getSourceAddress(Class<A> type) Get the source address.
| |
| setDestinationAddress | back to summary |
|---|---|
| public void setDestinationAddress(final SocketAddress destinationAddress) Set the destination address.
| |
| setSourceAddress | back to summary |
|---|---|
| public void setSourceAddress(final SocketAddress sourceAddress) Set the source address.
| |