public class DSRemotingClient
extends org.red5.server.net.remoting.RemotingClient
| Constructor and Description |
|---|
DSRemotingClient()
Dummy constructor used by the spring configuration.
|
DSRemotingClient(String url)
Create new remoting client for the given url.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDataSourceId() |
Object |
invokeMethod(String method,
Object[] params)
Invoke a method synchronously on the remoting server.
|
static void |
main(String[] args) |
protected void |
processHeaders(org.apache.mina.core.buffer.IoBuffer in)
Process any headers sent in the response.
|
void |
setDataSourceId(String dataSourceId) |
protected static Logger log
public DSRemotingClient()
public DSRemotingClient(String url)
url - URL to connect topublic String getDataSourceId()
public void setDataSourceId(String dataSourceId)
protected void processHeaders(org.apache.mina.core.buffer.IoBuffer in)
processHeaders in class org.red5.server.net.remoting.RemotingClientin - Byte buffer with response datapublic Object invokeMethod(String method, Object[] params)
invokeMethod in interface org.red5.io.client.IRemotingClientinvokeMethod in class org.red5.server.net.remoting.RemotingClientmethod - Method nameparams - Parameters passed to methodpublic static void main(String[] args)
Copyright © 2005–2016 Red5. All rights reserved.