Joram 5.2.4

org.objectweb.joram.mom.amqp
Class AMQPService

java.lang.Object
  extended by org.objectweb.joram.mom.amqp.AMQPService

public class AMQPService
extends java.lang.Object


Field Summary
protected static AMQPService amqpService
          The proxy reference (used to stop it).
static java.lang.String BACKLOG_PROP
          Name the property that allow to fix the TCP BACKLOG property for the client's connections.
static int DEFAULT_BACKLOG
          Default value for the TCP BACKLOG property.
static java.lang.String DEFAULT_BINDADDRESS
           
static int DEFAULT_POOL_SIZE
          Default value for the pool size.
static int DEFAULT_PORT
          Default value for the TCP port of the listen socket.
static int DEFAULT_SO_TIMEOUT
          Default value for the TCP SO_TIMEOUT property.
static org.objectweb.util.monolog.api.Logger logger
           
static java.lang.String POOL_SIZE_PROP
          Name the property that allow to fix the pool size for the connection's listener.
static java.lang.String SO_TIMEOUT_PROP
          Name the property that allow to fix the TCP SO_TIMEOUT property for the client's connections.
 
Constructor Summary
AMQPService(java.net.ServerSocket serverSocket, int poolSize, int timeout)
           
 
Method Summary
static java.lang.String getListenAddress()
           
static int getListenPort()
           
static void init(java.lang.String args, boolean firstTime)
          Initializes the TCP entry point by creating a server socket listening to the specified port.
protected  void start()
           
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

logger

public static org.objectweb.util.monolog.api.Logger logger

DEFAULT_SO_TIMEOUT

public static final int DEFAULT_SO_TIMEOUT
Default value for the TCP SO_TIMEOUT property.

See Also:
Constant Field Values

SO_TIMEOUT_PROP

public static final java.lang.String SO_TIMEOUT_PROP
Name the property that allow to fix the TCP SO_TIMEOUT property for the client's connections.

See Also:
Constant Field Values

DEFAULT_PORT

public static final int DEFAULT_PORT
Default value for the TCP port of the listen socket.

See Also:
Constant Field Values

DEFAULT_BINDADDRESS

public static final java.lang.String DEFAULT_BINDADDRESS
See Also:
Constant Field Values

POOL_SIZE_PROP

public static final java.lang.String POOL_SIZE_PROP
Name the property that allow to fix the pool size for the connection's listener.

See Also:
Constant Field Values

DEFAULT_POOL_SIZE

public static final int DEFAULT_POOL_SIZE
Default value for the pool size.

See Also:
Constant Field Values

DEFAULT_BACKLOG

public static final int DEFAULT_BACKLOG
Default value for the TCP BACKLOG property.

See Also:
Constant Field Values

BACKLOG_PROP

public static final java.lang.String BACKLOG_PROP
Name the property that allow to fix the TCP BACKLOG property for the client's connections.

See Also:
Constant Field Values

amqpService

protected static AMQPService amqpService
The proxy reference (used to stop it).

Constructor Detail

AMQPService

public AMQPService(java.net.ServerSocket serverSocket,
                   int poolSize,
                   int timeout)
Method Detail

getListenPort

public static final int getListenPort()

getListenAddress

public static final java.lang.String getListenAddress()

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.


start

protected void start()

Joram 5.2.4

Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved