|
JBoss Remoting 3.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.remoting3.Remoting
public final class Remoting

The standalone interface into Remoting. This class contains static methods that are useful to standalone programs for managing endpoints and services in a simple fashion.
| Method Summary | ||
|---|---|---|
static Endpoint |
createEndpoint(String endpointName,
Executor executor,
org.jboss.xnio.OptionMap optionMap)
Create an endpoint configured with the given option map. |
|
static
|
createLocalClient(Endpoint endpoint,
RequestListener<I,O> requestListener,
Class<I> requestClass,
Class<O> replyClass)
Create a local client from a request listener. |
|
static Endpoint |
getConfiguredEndpoint()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Endpoint getConfiguredEndpoint()
throws IOException
IOException
public static Endpoint createEndpoint(String endpointName,
Executor executor,
org.jboss.xnio.OptionMap optionMap)
throws IOException
endpointName - the endpoint nameexecutor - the thread pool to useoptionMap - the endpoint options
IOException - if an error occurs
public static <I,O> Client<I,O> createLocalClient(Endpoint endpoint,
RequestListener<I,O> requestListener,
Class<I> requestClass,
Class<O> replyClass)
throws IOException
I - the request typeO - the reply typeendpoint - the endpoint to bind the request listener torequestListener - the request listenerrequestClass - the request classreplyClass - the reply class
IOException - if an error occurs
|
JBoss Remoting 3.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||