org.red5.server.api.remoting
public interface IRemotingConnection extends IConnection
IConnection.Encoding
PERSISTENT, POLLING, TRANSIENT
Modifier and Type | Method and Description |
---|---|
void |
addHeader(String name,
Object value)
Tell the client to add a header with all further requests.
|
void |
addHeader(String name,
Object value,
boolean mustUnderstand)
Tell the client to add a header with all further requests.
|
Collection<IRemotingHeader> |
getHeaders()
Return headers to send.
|
void |
removeHeader(String name)
Tell the client to no longer send a header with all further requests.
|
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
dispatchEvent
handleEvent
notifyEvent
getBoolAttribute, getByteAttribute, getDoubleAttribute, getIntAttribute, getListAttribute, getLongAttribute, getMapAttribute, getSetAttribute, getShortAttribute, getStringAttribute
getAttribute, getAttribute, getAttributeNames, getAttributes, hasAttribute, removeAttribute, removeAttributes, setAttribute, setAttributes, setAttributes
void addHeader(String name, Object value)
name
- name of the header to addvalue
- value of the header to addvoid addHeader(String name, Object value, boolean mustUnderstand)
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 messagesvoid removeHeader(String name)
name
- name of the header to removeCollection<IRemotingHeader> getHeaders()
Copyright © 2006-2012 The Red5 Project