|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.transport.ServerTransport
public class ServerTransport
The transport for the HQ server.
Constructor Summary | |
---|---|
ServerTransport(java.net.InetSocketAddress pollerServerBindAddr,
int asyncThreadPoolSize)
Creates an instance with an embedded server. |
|
ServerTransport(int asyncThreadPoolSize)
Creates an instance without an embedded server. |
Method Summary | |
---|---|
AgentProxyFactory |
getAgentProxyFactory()
Retrieve the factory for acquiring proxies to agent services. |
boolean |
isReady()
Determine if the server transport is ready to handle queries on agent services. |
void |
shutdown()
Stop the server transport. |
void |
start()
Start the transport. |
void |
stop()
Stop the transport. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerTransport(int asyncThreadPoolSize) throws java.lang.Exception
asyncThreadPoolSize
- The thread pool size for the asynchronous invoker.
java.lang.Exception
- if instance creation fails.public ServerTransport(java.net.InetSocketAddress pollerServerBindAddr, int asyncThreadPoolSize) throws java.lang.Exception
pollerServerBindAddr
- The bind address for the unidirectional poller server.asyncThreadPoolSize
- The thread pool size for the asynchronous invoker.
java.lang.Exception
- if instance creation fails.Method Detail |
---|
public boolean isReady()
true
.
true
if ready to handle queries;
false
otherwise.public void start() throws java.lang.Exception
java.lang.Exception
public void stop()
public void shutdown()
shutdown
in interface ShutdownCallback
public AgentProxyFactory getAgentProxyFactory()
java.lang.IllegalStateException
- if the server transport is not started.
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |