|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.inspirel.yami.beans.AgentWrapper
public class AgentWrapper
Bean wrapper for the YAMI agent. The wrapper allows the basic agent management within the container-like environment. The Spring framework is a particular target for this wrapper.
Constructor Summary | |
---|---|
AgentWrapper()
Default constructor. |
Method Summary | |
---|---|
void |
close()
Closes the agent object and cleans its internal resources. |
Agent |
getAgent()
Retrieves the delegated agent object. |
void |
init()
Initialization - creates and starts the agent. |
void |
setConnectionRetries(int connectionRetries)
The property equivalent to the connection_retries option. |
void |
setConnectionRetryDelaySpread(int connectionRetryDelaySpread)
The property equivalent to the connection_retry_delay_spread option. |
void |
setDispatcherThreads(int dispatcherThreads)
The property equivalent to the dispatcher_threads option. |
void |
setIncomingHighWaterMark(int incomingHighWaterMark)
The property equivalent to the incoming_high_water_mark option. |
void |
setIncomingLowWaterMark(int incomingLowWaterMark)
The property equivalent to the incoming_low_water_mark option. |
void |
setListener(java.lang.String listener)
The property representing the listener address. |
void |
setObject(IncomingMessageCallback callback)
Convenience property for defining single service. |
void |
setObjectName(java.lang.String name)
Convenience property for defining single service name. |
void |
setOutgoingHighWaterMark(int outgoingHighWaterMark)
The property equivalent to the outgoing_high_water_mark option. |
void |
setOutgoingLowWaterMark(int outgoingLowWaterMark)
The property equivalent to the outgoing_low_water_mark option. |
void |
setTcpFrameSize(int frameSize)
The property equivalent to the tcp_frame_size option. |
void |
setTcpListenBacklog(int backlog)
The property equivalent to the tcp_listen_backlog option. |
void |
setTcpNoDelay(boolean noDelay)
The property equivalent to the tcp_nodelay option. |
void |
setTcpReuseAddr(boolean reuseAddr)
The property equivalent to the tcp_reuseaddr option. |
void |
setUdpFrameSize(int frameSize)
The property equivalent to the udp_frame_size option. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgentWrapper()
Method Detail |
---|
public void setTcpListenBacklog(int backlog)
public void setTcpReuseAddr(boolean reuseAddr)
public void setTcpNoDelay(boolean noDelay)
public void setTcpFrameSize(int frameSize)
public void setUdpFrameSize(int frameSize)
public void setDispatcherThreads(int dispatcherThreads)
public void setConnectionRetries(int connectionRetries)
public void setConnectionRetryDelaySpread(int connectionRetryDelaySpread)
public void setOutgoingHighWaterMark(int outgoingHighWaterMark)
public void setOutgoingLowWaterMark(int outgoingLowWaterMark)
public void setIncomingHighWaterMark(int incomingHighWaterMark)
public void setIncomingLowWaterMark(int incomingLowWaterMark)
public void setListener(java.lang.String listener)
public void setObject(IncomingMessageCallback callback)
public void setObjectName(java.lang.String name)
public void init()
public void close()
public Agent getAgent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |