org.objectweb.joram.mom.proxies.tcp
Class TcpProxyService

java.lang.Object
  extended byorg.objectweb.joram.mom.proxies.tcp.TcpProxyService

public class TcpProxyService
extends java.lang.Object

Starts a TCP entry point for MOM clients.


Field Summary
static int DEFAULT_PORT
           
 
Constructor Summary
TcpProxyService(java.net.ServerSocket serverSocket)
           
 
Method Summary
static void init(java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values
Constructor Detail

TcpProxyService

public TcpProxyService(java.net.ServerSocket serverSocket)
Method Detail

init

public static void init(java.lang.String args,
                        boolean firstTime)
                 throws java.lang.Exception
Initializes the TCP entry point by creating a server socket listening to the specified port.

Parameters:
args - stringified listening port
firstTime - true when the agent server starts.
Throws:
java.lang.Exception

stopService

public static void stopService()
Stops the service.



Copyright ? 2004 Scalagent - All rights reserved