public class ServerCommunicationsServiceUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static ServerCommunicationsServiceMBean getService()
org.rhq.core.util.exception.WrappedRemotingException - if the bootstrap service is not availablepublic static RemoteInputStream remoteInputStream(InputStream in) throws Exception
in - the stream to remoteException - if ununable to make the given input stream remotely accessible for some reasonpublic static RemoteOutputStream remoteInputStream(OutputStream out) throws Exception
in - the stream to remoteException - if ununable to make the given output stream remotely accessible for some reasonCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.