Package org.red5.server.api.remoting
Interface IRemotingConnection
- All Superinterfaces:
AttributeStoreMXBean,IAttributeStore,ICastingAttributeStore,IConnection,ICoreObject,IEventDispatcher,IEventHandler,IEventListener
Connection coming from Remoting clients.
- Author:
- The Red5 Project, Joachim Bauch ([email protected])
-
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 TypeMethodDescriptionvoidTell the client to add a header with all further requests.voidTell the client to add a header with all further requests.Return headers to send.voidremoveHeader(String name) Tell the client to no longer send a header with all further requests.Methods inherited from interface org.red5.server.api.IAttributeStore
getAttribute, getAttribute, getAttributeNames, getAttributes, hasAttribute, removeAttribute, removeAttributes, setAttribute, setAttributes, setAttributes, sizeMethods inherited from interface org.red5.server.api.ICastingAttributeStore
getBoolAttribute, getByteAttribute, getDoubleAttribute, getIntAttribute, getListAttribute, getLongAttribute, getMapAttribute, getSetAttribute, getShortAttribute, getStringAttributeMethods 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, setStreamIdMethods inherited from interface org.red5.server.api.event.IEventDispatcher
dispatchEventMethods inherited from interface org.red5.server.api.event.IEventHandler
handleEventMethods inherited from interface org.red5.server.api.event.IEventListener
notifyEvent
-
Method Details
-
addHeader
Tell the client to add a header with all further requests. This is returned to the client as response for the next request received.- Parameters:
name- name of the header to addvalue- value of the header to add
-
addHeader
Tell the client to add a header with all further requests. This is returned to the client as response for the next request received.- Parameters:
name- name of the header to addvalue- value of the header to addmustUnderstand- a boolean flag specifying if the server must pocess this header before handling following headers or messages
-
removeHeader
Tell the client to no longer send a header with all further requests. This is returned to the client as response for the next request received.- Parameters:
name- name of the header to remove
-
getHeaders
Collection<IRemotingHeader> getHeaders()Return headers to send.- Returns:
- headers to send
-