|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServiceCapableConnection
Connection that has options to invoke and handle remote calls
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.red5.server.api.IConnection |
---|
IConnection.Encoding |
Field Summary |
---|
Fields inherited from interface org.red5.server.api.IConnection |
---|
PERSISTENT, POLLING, TRANSIENT |
Method Summary | |
---|---|
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)
|
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 |
Methods inherited from interface org.red5.server.api.IConnection |
---|
addListener, 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, removeListener, setBandwidth |
Methods inherited from interface org.red5.server.api.event.IEventDispatcher |
---|
dispatchEvent |
Methods inherited from interface org.red5.server.api.event.IEventHandler |
---|
handleEvent |
Methods inherited from interface org.red5.server.api.event.IEventListener |
---|
notifyEvent |
Methods inherited from interface org.red5.server.api.ICastingAttributeStore |
---|
getBoolAttribute, getByteAttribute, getDoubleAttribute, getIntAttribute, getListAttribute, getLongAttribute, getMapAttribute, getSetAttribute, getShortAttribute, getStringAttribute |
Methods inherited from interface org.red5.server.api.IAttributeStore |
---|
getAttribute, getAttribute, getAttributeNames, getAttributes, hasAttribute, removeAttribute, removeAttributes, setAttribute, setAttributes, setAttributes, size |
Method Detail |
---|
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
- void notify(String method, Object[] params)
method
- params
- void status(Status status)
status
- void status(Status status, int channel)
status
- channel
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |