org.jboss.xnio.channels
Interface ConnectedChannel<A>

Type Parameters:
A - the type of address associated with this channel
All Superinterfaces:
BoundChannel<A>, java.nio.channels.Channel, java.io.Closeable
All Known Subinterfaces:
ConnectedStreamChannel<A>, DatagramChannel<A>, TcpChannel
All Known Implementing Classes:
NioTcpChannel

public interface ConnectedChannel<A>
extends BoundChannel<A>

A channel that has a local and peer endpoint address.


Method Summary
 A getPeerAddress()
          Get the peer address of this channel.
 
Methods inherited from interface org.jboss.xnio.channels.BoundChannel
getLocalAddress
 
Methods inherited from interface java.nio.channels.Channel
close, isOpen
 

Method Detail

getPeerAddress

A getPeerAddress()
Get the peer address of this channel.

Returns:
the peer address