|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.agent.AgentServiceRemoter
public class AgentServiceRemoter
This AgentServiceLifecycleListener will enable each agent service that is started for remote access. As agent
services go down, this listener ensures that they are no longer remotely accessible.
| Constructor Summary | |
|---|---|
AgentServiceRemoter(AgentMain agent)
Creates a new AgentServiceRemoter object. |
|
| Method Summary | |
|---|---|
InputStream |
prepareInputStream(InputStream stream)
This will remote the input stream using the agent's communications services. |
OutputStream |
prepareOutputStream(OutputStream stream)
This will remote the output stream using the agent's communications services. |
void |
started(AgentService agent_service)
This method will remote the given agent service so external clients can communicate with it. |
void |
stopped(AgentService agent_service)
This method will ensure that the stopped agent service will no longer be accessible to external clients. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgentServiceRemoter(AgentMain agent)
AgentServiceRemoter object.
agent - the agent that provides the remoting infrastructure| Method Detail |
|---|
public void started(AgentService agent_service)
started in interface AgentServiceLifecycleListenerAgentServiceLifecycleListener.started(AgentService)public void stopped(AgentService agent_service)
stopped in interface AgentServiceLifecycleListenerAgentServiceLifecycleListener.stopped(AgentService)public InputStream prepareInputStream(InputStream stream)
prepareInputStream in interface AgentServiceStreamRemoterAgentServiceStreamRemoter.prepareInputStream(java.io.InputStream)public OutputStream prepareOutputStream(OutputStream stream)
prepareOutputStream in interface AgentServiceStreamRemoterAgentServiceStreamRemoter.prepareOutputStream(OutputStream)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||