|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.transport.passthru.api.PassThroughInboundEndpointHandler
public class PassThroughInboundEndpointHandler
API class for access PassThrough Core Inbound Endpoint management classes
| Constructor Summary | |
|---|---|
PassThroughInboundEndpointHandler()
|
|
| Method Summary | |
|---|---|
static boolean |
closeEndpoint(int port)
Close ListeningEndpoint running on the given port |
static SourceConfiguration |
getPassThroughSourceConfiguration()
|
static boolean |
isEndpointRunning(int port)
Check Whether inbound endpoint is running for a particular port |
static boolean |
startEndpoint(InetSocketAddress inetSocketAddress,
org.apache.http.nio.NHttpServerEventHandler nHttpServerEventHandler,
String endpointName)
Start Endpoint Listen and events related to Endpoint handle by given NHttpServerEventHandler |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PassThroughInboundEndpointHandler()
| Method Detail |
|---|
public static boolean startEndpoint(InetSocketAddress inetSocketAddress,
org.apache.http.nio.NHttpServerEventHandler nHttpServerEventHandler,
String endpointName)
inetSocketAddress - Socket Address of the Endpoint need to be start by underlying IOReactornHttpServerEventHandler - Event Handler for handle events for EndpointendpointName - Name of the Endpoint
public static boolean closeEndpoint(int port)
port - Port of ListeningEndpoint to be closed
public static SourceConfiguration getPassThroughSourceConfiguration()
throws Exception
Exceptionpublic static boolean isEndpointRunning(int port)
port - port
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||