|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.core.comm.ServerCommunicationsServiceUtil
public class ServerCommunicationsServiceUtil
Provides static utilities to obtain and work with the server bootstrap service. This service provides access to the server-side comm services used to communicate with agents.
| Method Summary | |
|---|---|
static ServerCommunicationsServiceMBean |
getService()
This will obtain a proxy to the server bootstrap service - this is the service that provides the communications services used to talk to agents. |
static RemoteInputStream |
remoteInputStream(InputStream in)
Given an input stream, this method prepares it to be remoted. |
static RemoteOutputStream |
remoteInputStream(OutputStream out)
Given an output stream, this method prepares it to be remoted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ServerCommunicationsServiceMBean getService()
org.rhq.core.util.exception.WrappedRemotingException - if the bootstrap service is not available
public static RemoteInputStream remoteInputStream(InputStream in)
throws Exception
in - the stream to remote
Exception - if ununable to make the given input stream remotely accessible for some reason
public static RemoteOutputStream remoteInputStream(OutputStream out)
throws Exception
in - the stream to remote
Exception - if ununable to make the given output stream remotely accessible for some reason
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||