JBoss Remoting 3 3.2.0.Beta2-redhat-1

org.jboss.remoting3
Interface Connection

All Superinterfaces:
Attachable, Closeable, HandleableCloseable<Connection>

public interface Connection
extends HandleableCloseable<Connection>, Attachable

A connection to a remote peer.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.remoting3.HandleableCloseable
HandleableCloseable.Key
 
Method Summary
 Collection<Principal> getPrincipals()
          Get the authenticated principals for this connection.
 org.xnio.IoFuture<Channel> openChannel(String serviceType, org.xnio.OptionMap optionMap)
          Open a channel to a remote service on this connection.
 
Methods inherited from interface org.jboss.remoting3.HandleableCloseable
addCloseHandler, awaitClosed, awaitClosedUninterruptibly, close, closeAsync
 
Methods inherited from interface org.jboss.remoting3.Attachable
getAttachments
 

Method Detail

getPrincipals

Collection<Principal> getPrincipals()
Get the authenticated principals for this connection.

Returns:
the authenticated principals

openChannel

org.xnio.IoFuture<Channel> openChannel(String serviceType,
                                       org.xnio.OptionMap optionMap)
Open a channel to a remote service on this connection.

Parameters:
serviceType - the service type
optionMap - the option map
Returns:
the future channel

JBoss Remoting 3 3.2.0.Beta2-redhat-1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.