org.objectweb.joram.mom.proxies.tcp

Class 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(ServerSocket serverSocket)

Method Summary

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.

Field Details

DEFAULT_PORT

public static final int DEFAULT_PORT

Field Value:
16010

Constructor Details

TcpProxyService

public TcpProxyService(ServerSocket serverSocket)

Method Details

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.

Parameters:
args - stringified listening port
firstTime - true when the agent server starts.


stopService

public static void stopService()
Stops the service.


Copyright B) 2004 Scalagent - All rights reserved