|
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.agent.server.AgentServerConnection
public abstract class AgentServerConnection
This class represents an incoming connection to the agent. AgentConnectionListener objects return these when incoming connections are received.
Constructor Summary | |
---|---|
AgentServerConnection()
|
Method Summary | |
---|---|
abstract void |
close()
Close the connection. |
abstract java.io.InputStream |
getInputStream()
Get a stream which can be used to read data from the connection. |
abstract java.io.OutputStream |
getOutputStream()
Get a stream which can be used to write data to the connection. |
AgentCommand |
readCommand()
Read the command invocation information from the client |
void |
sendErrorResponse(java.lang.String msg)
|
void |
sendSuccessResponse(AgentRemoteValue res)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgentServerConnection()
Method Detail |
---|
public abstract java.io.InputStream getInputStream() throws AgentConnectionException
AgentConnectionException
public abstract java.io.OutputStream getOutputStream() throws AgentConnectionException
AgentConnectionException
public abstract void close()
public AgentCommand readCommand() throws AgentConnectionException, java.io.EOFException
AgentConnectionException
java.io.EOFException
public void sendErrorResponse(java.lang.String msg) throws AgentConnectionException
AgentConnectionException
public void sendSuccessResponse(AgentRemoteValue res) throws AgentConnectionException
AgentConnectionException
|
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 |