org.red5.server.api.service
public interface IServiceCapableConnection extends IConnection
IConnection.Encoding
PERSISTENT, POLLING, TRANSIENT
Modifier and Type | Method and Description |
---|---|
void |
invoke(IServiceCall call)
Invokes service using remoting call object
|
void |
invoke(IServiceCall call,
int channel)
Invoke service using call and channel
|
void |
invoke(String method)
Invoke method by name
|
void |
invoke(String method,
IPendingServiceCallback callback)
Invoke method by name with callback
|
void |
invoke(String method,
Object[] params)
Invoke method with parameters
|
void |
invoke(String method,
Object[] params,
IPendingServiceCallback callback) |
void |
notify(IServiceCall call) |
void |
notify(IServiceCall call,
int channel) |
void |
notify(String method) |
void |
notify(String method,
Object[] params) |
close, connect, connect, getBasicScopes, getClient, getClientBytesRead, getConnectParams, getDroppedMessages, getEncoding, getHost, getLastPingTime, getPath, getPendingMessages, getReadBytes, getReadMessages, getRemoteAddress, getRemoteAddresses, getRemotePort, getScope, getSessionId, getType, getWrittenBytes, getWrittenMessages, initialize, isConnected, ping, setBandwidth
dispatchEvent
handleEvent
notifyEvent
getBoolAttribute, getByteAttribute, getDoubleAttribute, getIntAttribute, getListAttribute, getLongAttribute, getMapAttribute, getSetAttribute, getShortAttribute, getStringAttribute
getAttribute, getAttribute, getAttributeNames, getAttributes, hasAttribute, removeAttribute, removeAttributes, setAttribute, setAttributes, setAttributes
void invoke(IServiceCall call)
call
- Service call objectvoid invoke(IServiceCall call, int channel)
call
- Service callchannel
- Channel usedvoid invoke(String method)
method
- Called method namevoid invoke(String method, IPendingServiceCallback callback)
method
- Called method namecallback
- Callbackvoid invoke(String method, Object[] params)
method
- Method nameparams
- Invocation parameters passed to methodvoid invoke(String method, Object[] params, IPendingServiceCallback callback)
method
- params
- callback
- void notify(IServiceCall call)
call
- void notify(IServiceCall call, int channel)
call
- channel
- void notify(String method)
method
- Copyright © 2006-2012 The Red5 Project