Package org.red5.server.api.service
Interface IServiceCapableConnection
- All Superinterfaces:
AttributeStoreMXBean
,IAttributeStore
,ICastingAttributeStore
,IConnection
,ICoreObject
,IEventDispatcher
,IEventHandler
,IEventListener
- All Known Implementing Classes:
RTMPConnection
,RTMPMinaConnection
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
Modifier and TypeMethodDescriptionvoid
Invoke method by name.void
Invoke method with parameters.void
invoke
(String method, Object[] params, IPendingServiceCallback callback) Invoke method with parameters.void
invoke
(String method, IPendingServiceCallback callback) Invoke method by name with callback.void
invoke
(IServiceCall call) Invokes service using remoting call object.void
invoke
(IServiceCall call, int channel) Invoke service using call and channel.void
Notify method.void
Notify method with parameters.void
notify
(IServiceCall call) Notify method.void
notify
(IServiceCall call, int channel) Notify method with channel id.void
Sends a status object to the connection.void
Sends a status object to the connection on a given channel.Methods inherited from interface org.red5.server.api.IAttributeStore
getAttribute, getAttribute, getAttributeNames, getAttributes, hasAttribute, removeAttribute, removeAttributes, setAttribute, setAttributes, setAttributes, size
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.IConnection
addListener, close, connect, connect, getBasicScopes, getClient, getClientBytesRead, getConnectParams, getDroppedMessages, getEncoding, getHost, getLastPingTime, getPath, getPendingMessages, getProtocol, getReadBytes, getReadMessages, getRemoteAddress, getRemoteAddresses, getRemotePort, getScope, getSessionId, getStreamId, getType, getWrittenBytes, getWrittenMessages, initialize, isConnected, ping, removeListener, setBandwidth, setClient, setStreamId
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
-
Method Details
-
invoke
Invokes service using remoting call object.- Parameters:
call
- Service call object
-
invoke
Invoke service using call and channel.- Parameters:
call
- Service callchannel
- Channel used
-
invoke
Invoke method by name.- Parameters:
method
- Called method name
-
invoke
Invoke method by name with callback.- Parameters:
method
- Called method namecallback
- Callback
-
invoke
Invoke method with parameters.- Parameters:
method
- Method nameparams
- Invocation parameters passed to method
-
invoke
Invoke method with parameters.- Parameters:
method
- by nameparams
- method paramscallback
- callback
-
notify
Notify method.- Parameters:
call
- service call
-
notify
Notify method with channel id.- Parameters:
call
- service callchannel
- channel id
-
notify
Notify method.- Parameters:
method
- by name
-
notify
Notify method with parameters.- Parameters:
method
- by nameparams
- method params
-
status
Sends a status object to the connection.- Parameters:
status
- Status
-
status
Sends a status object to the connection on a given channel.- Parameters:
status
- Statuschannel
- channel id
-