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

Type Parameters:
A - the type of address associated with this channel
All Superinterfaces:
java.nio.channels.Channel, java.io.Closeable
All Known Subinterfaces:
ConnectedChannel<A>, ConnectedStreamChannel<A>, DatagramChannel<A>, MultipointDatagramChannel<A>, TcpChannel, UdpChannel
All Known Implementing Classes:
BioDatagramChannelImpl, BioMulticastChannelImpl, NioTcpChannel, NioTcpServer.NioTcpServerChannel, NioUdpSocketChannelImpl

public interface BoundChannel<A>
extends java.nio.channels.Channel

A channel that is bound to a local address.


Method Summary
 A getLocalAddress()
          Get the local address that this channel is bound to.
 
Methods inherited from interface java.nio.channels.Channel
close, isOpen
 

Method Detail

getLocalAddress

A getLocalAddress()
Get the local address that this channel is bound to.

Returns:
the local address