org.objectweb.joram.mom.proxies.tcp
Class TcpProxyService
java.lang.Object
org.objectweb.joram.mom.proxies.tcp.TcpProxyService
public class TcpProxyService
extends java.lang.Object
Starts a TCP entry point for MOM clients.
static void | init(String args, boolean firstTime) - Initializes the TCP entry point by creating a
server socket listening to the specified port.
|
static void | stopService() - Stops the service.
|
DEFAULT_PORT
public static final int DEFAULT_PORT
- 16010
TcpProxyService
public TcpProxyService(ServerSocket serverSocket)
init
public static void init(String args,
boolean firstTime)
throws Exception
Initializes the TCP entry point by creating a
server socket listening to the specified port.
args
- stringified listening portfirstTime
- true
when the agent server starts.
stopService
public static void stopService()
Stops the service.
Copyright B) 2004 Scalagent - All rights reserved