public interface IServiceCapableConnection extends IConnection
IConnection.Duty, IConnection.Encoding, IConnection.Type| 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)
Invoke method with parameters.
|
void |
notify(IServiceCall call)
Notify method.
|
void |
notify(IServiceCall call,
int channel)
Notify method with channel id.
|
void |
notify(String method)
Notify method.
|
void |
notify(String method,
Object[] params)
Notify method with parameters.
|
void |
status(Status status)
Sends a status object to the connection.
|
void |
status(Status status,
int channel)
Sends a status object to the connection on a given channel.
|
addListener, close, connect, connect, getBasicScopes, getClient, getClientBytesRead, getConnectParams, getDroppedMessages, getDuty, getEncoding, getHost, getLastPingTime, getPath, getPendingMessages, getProtocol, getReadBytes, getReadMessages, getRemoteAddress, getRemoteAddresses, getRemotePort, getScope, getSessionId, getStreamId, getType, getWrittenBytes, getWrittenMessages, initialize, isConnected, ping, removeListener, setBandwidth, setClient, setStreamIddispatchEventhandleEventnotifyEventgetBoolAttribute, getByteAttribute, getDoubleAttribute, getIntAttribute, getListAttribute, getLongAttribute, getMapAttribute, getSetAttribute, getShortAttribute, getStringAttributegetAttribute, getAttribute, getAttributeNames, getAttributes, hasAttribute, removeAttribute, removeAttributes, setAttribute, setAttributes, setAttributes, sizevoid 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 - by nameparams - method paramscallback - callbackvoid notify(IServiceCall call)
call - service callvoid notify(IServiceCall call, int channel)
call - service callchannel - channel idvoid notify(String method)
method - by namevoid notify(String method, Object[] params)
method - by nameparams - method paramsvoid status(Status status)
status - Statusvoid status(Status status, int channel)
status - Statuschannel - channel idCopyright © 2005–2017 Red5. All rights reserved.