|
JBoss Remoting 3 3.2.14.GA-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Connection
A connection to a remote peer.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jboss.remoting3.HandleableCloseable |
---|
HandleableCloseable.Key |
Method Summary | |
---|---|
Endpoint |
getEndpoint()
Get the local endpoint. |
Collection<Principal> |
getPrincipals()
Get the authenticated principals for this connection. |
String |
getRemoteEndpointName()
Get the name of the remote endpoint, if it has one. |
UserInfo |
getUserInfo()
Get the UserInfo 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 |
---|
Collection<Principal> getPrincipals()
UserInfo getUserInfo()
org.xnio.IoFuture<Channel> openChannel(String serviceType, org.xnio.OptionMap optionMap)
serviceType
- the service typeoptionMap
- the option map
String getRemoteEndpointName()
null
if it is anonymousEndpoint getEndpoint()
|
JBoss Remoting 3 3.2.14.GA-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |