|
JBoss Remoting 3.1.0.Beta1 | |||||||||
| 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.
This interface is part of the Remoting 3 public API. While instances of this type may be used publicly, users are not encouraged to implement or extend this type as members may be added without notice.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.remoting3.HandleableCloseable |
|---|
HandleableCloseable.Key |
| Method Summary | ||
|---|---|---|
|
createClientConnector(RequestListener<I,O> listener,
Class<I> requestClass,
Class<O> replyClass)
Create a client connector which may only transmitted to the remote side of this connection, allowing it to use the included service. |
|
|
createClientConnector(RequestListener<I,O> listener,
Class<I> requestClass,
Class<O> replyClass,
org.jboss.xnio.OptionMap optionMap)
Create a client connector which may only transmitted to the remote side of this connection, allowing it to use the included service. |
|
|
openClient(String serviceType,
String groupName,
Class<I> requestClass,
Class<O> replyClass)
Locate and open a client on the remote side of this connection. |
|
|
openClient(String serviceType,
String groupName,
Class<I> requestClass,
Class<O> replyClass,
org.jboss.xnio.OptionMap optionMap)
Locate and open a client on the remote side of this connection. |
|
| Methods inherited from interface org.jboss.remoting3.HandleableCloseable |
|---|
addCloseHandler, awaitClosed, awaitClosedUninterruptibly, close |
| Methods inherited from interface org.jboss.remoting3.Attachable |
|---|
getAttachments |
| Method Detail |
|---|
<I,O> org.jboss.xnio.IoFuture<? extends Client<I,O>> openClient(String serviceType,
String groupName,
Class<I> requestClass,
Class<O> replyClass)
I - the request typeO - the reply typeserviceType - the service typegroupName - the group namerequestClass - the request classreplyClass - the reply class
<I,O> org.jboss.xnio.IoFuture<? extends Client<I,O>> openClient(String serviceType,
String groupName,
Class<I> requestClass,
Class<O> replyClass,
org.jboss.xnio.OptionMap optionMap)
I - the request typeO - the reply typeserviceType - the service typegroupName - the group namerequestClass - the request classreplyClass - the reply classoptionMap - the option map
<I,O> ClientConnector<I,O> createClientConnector(RequestListener<I,O> listener,
Class<I> requestClass,
Class<O> replyClass)
throws IOException
I - the request typeO - the reply typelistener - the local listenerrequestClass - the request classreplyClass - the reply class
IOException
<I,O> ClientConnector<I,O> createClientConnector(RequestListener<I,O> listener,
Class<I> requestClass,
Class<O> replyClass,
org.jboss.xnio.OptionMap optionMap)
throws IOException
I - the request typeO - the reply typelistener - the local listenerrequestClass - the request classreplyClass - the reply classoptionMap - the option map
IOException
|
JBoss Remoting 3.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||