XNIO version 1.2.0.GA

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

Type Parameters:
A - the type of address associated with this channel
All Superinterfaces:
BoundChannel<A>, Channel, Closeable
All Known Subinterfaces:
ConnectedStreamChannel<A>, DatagramChannel<A>, TcpChannel

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

XNIO version 1.2.0.GA

Copyright © 2008 JBoss, a division of Red Hat, Inc.