org.red5.server.api.service
Interface IServiceCapableConnection
- All Superinterfaces:
- AttributeStoreMXBean, IAttributeStore, ICastingAttributeStore, IConnection, ICoreObject, IEventDispatcher, IEventHandler, IEventListener
- All Known Implementing Classes:
- BaseRTMPTConnection, RTMPConnection, RTMPMinaConnection, RTMPTConnection
public interface IServiceCapableConnection
- extends IConnection
Connection that has options to invoke and handle remote calls
Methods inherited from interface org.red5.server.api.IConnection |
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 |
invoke
void invoke(IServiceCall call)
- Invokes service using remoting call object
- Parameters:
call
- Service call object
invoke
void invoke(IServiceCall call,
int channel)
- Invoke service using call and channel
- Parameters:
call
- Service callchannel
- Channel used
invoke
void invoke(String method)
- Invoke method by name
- Parameters:
method
- Called method name
invoke
void invoke(String method,
IPendingServiceCallback callback)
- Invoke method by name with callback
- Parameters:
method
- Called method namecallback
- Callback
invoke
void invoke(String method,
Object[] params)
- Invoke method with parameters
- Parameters:
method
- Method nameparams
- Invocation parameters passed to method
invoke
void invoke(String method,
Object[] params,
IPendingServiceCallback callback)
- Parameters:
method
- params
- callback
-
notify
void notify(IServiceCall call)
- Parameters:
call
-
notify
void notify(IServiceCall call,
int channel)
- Parameters:
call
- channel
-
notify
void notify(String method)
- Parameters:
method
-
notify
void notify(String method,
Object[] params)
- Parameters:
method
- params
-
Copyright © 2006-2012 The Red5 Project