Package com.wowza.wms.netconnection
Interface INetConnection
-
public interface INetConnection
-
-
Method Summary
-
-
-
Method Detail
-
getRespFunctions
ResponseFunctions getRespFunctions()
-
connect
void connect(String hostname, int port, int timeout, INetConnectionCallResult handshakeResult)
-
callConnect
void callConnect(INetConnectionCallResult resultObj, AMFDataObj metaData, Object... params)
-
call
void call(String handlerName, INetConnectionCallResult resultObj, Object... params)
-
call
void call(String handlerName, IMediaStream stream, INetConnectionCallResult resultObj, Object... params)
-
getStreams
MediaStreamMap getStreams()
-
setStreams
void setStreams(MediaStreamMap streams)
-
getHandshake
int getHandshake()
-
setHandshake
void setHandshake(int handshake)
-
getHandshakeResult
INetConnectionCallResult getHandshakeResult()
-
setHandshakeResult
void setHandshakeResult(INetConnectionCallResult handshakeResult)
-
getLeftOverData
byte[] getLeftOverData()
-
getLeftOverCID
int getLeftOverCID()
-
setLeftOverData
void setLeftOverData(byte[] data, int offset, int size, int cid)
-
setLeftOverData
void setLeftOverData(byte[] data, int offset, int size)
-
clearLeftOverData
void clearLeftOverData()
-
isLeftOverData
boolean isLeftOverData()
-
getPartialFunctions
java.util.Map getPartialFunctions()
-
setPartialFunctions
void setPartialFunctions(java.util.Map partialFunctions)
-
clearPartialFunctions
void clearPartialFunctions()
-
addPartialFunction
void addPartialFunction(Integer amfNumber, com.wowza.wms.request.RequestFunction funct)
-
getReqAMFObjs
java.util.List getReqAMFObjs()
-
getReceiveChunkSize
int getReceiveChunkSize()
-
setReceiveChunkSize
void setReceiveChunkSize(int baseChunkSize)
-
getSendChunkSize
int getSendChunkSize()
-
setSendChunkSize
void setSendChunkSize(int baseChunkSize)
-
getStreamType
String getStreamType()
-
setStreamType
void setStreamType(String streamType)
-
registerStream
void registerStream(IMediaStream stream)
-
unregisterStream
void unregisterStream(IMediaStream stream)
-
getCallResults
com.wowza.wms.netconnection.NetConnectionCallResults getCallResults()
-
handleCallback
void handleCallback(com.wowza.wms.request.RequestFunction function)
-
unregisterCallback
void unregisterCallback(String handlerName)
-
registerCallback
void registerCallback(String handlerName, INetConnectionCallback callback)
-
close
void close()
-
getAppInstance
IApplicationInstance getAppInstance()
-
getNetConnectionId
int getNetConnectionId()
-
getClientId
int getClientId()
-
setClientId
void setClientId(int clientId)
-
packetComplete
void packetComplete()
-
getResponseAMFObj
AMFObj getResponseAMFObj(int index)
-
getIdleHandler
INetConnectionIdle getIdleHandler()
-
setIdleHandler
void setIdleHandler(INetConnectionIdle idleHandler)
-
getIdleFrequency
int getIdleFrequency()
-
setIdleFrequency
void setIdleFrequency(int idleFrequency)
-
ping
int ping(INetConnectionPingResult pingResult)
-
ping
int ping(INetConnectionPingResult pingResult, int payloadSize)
-
handlePingResult
void handlePingResult(int pingId, boolean result)
-
checkPingTimeout
void checkPingTimeout()
-
doIdle
void doIdle()
-
getLastIdlePingTime
long getLastIdlePingTime()
-
setLastIdlePingTime
void setLastIdlePingTime(long lastIdlePingTime)
-
checkLastIdlePing
void checkLastIdlePing()
-
getTotalInBytes
long getTotalInBytes()
-
getNextConfirmBytesReceived
long getNextConfirmBytesReceived()
-
setNextConfirmBytesReceived
void setNextConfirmBytesReceived(long nextConfirmBytesReceived)
-
incrementNextConfirmBytesReceived
long incrementNextConfirmBytesReceived()
-
isObjectEncodingAMF3
boolean isObjectEncodingAMF3()
-
isObjectEncodingAMF0
boolean isObjectEncodingAMF0()
-
setObjectEncoding
void setObjectEncoding(int objectEncoding)
-
getObjectEncoding
int getObjectEncoding()
-
getRespAFMIndex
int getRespAFMIndex(IMediaStream stream)
-
getRespAMFAudioObj
AMFObj getRespAMFAudioObj(IMediaStream stream)
-
getRespAMFVideoObj
AMFObj getRespAMFVideoObj(IMediaStream stream)
-
getRespAMFDataObj
AMFObj getRespAMFDataObj(IMediaStream stream)
-
removePublishStreams
void removePublishStreams(IMediaStream stream)
-
getPublishStreams
java.util.List getPublishStreams()
-
addPublishStreams
void addPublishStreams(IMediaStream stream)
-
getPublishHandler
INetConnectionPublisher getPublishHandler()
-
setPublishHandler
void setPublishHandler(INetConnectionPublisher publishHandler)
-
getLastValidateTime
long getLastValidateTime()
-
setLastValidateTime
void setLastValidateTime(long lastValidateTime)
-
isValidatingConnection
boolean isValidatingConnection()
-
setValidatingConnection
void setValidatingConnection(boolean isValidatingConnection)
-
getTotalIOPerformanceCounter
IOPerformanceCounter getTotalIOPerformanceCounter()
-
getMediaIOPerformanceCounter
IOPerformanceCounter getMediaIOPerformanceCounter()
-
sendMediaStreamBufferTime
void sendMediaStreamBufferTime(IMediaStream stream, int bufferTime)
-
getLiveRepeaterCapabilities
int getLiveRepeaterCapabilities()
-
setLiveRepeaterCapabilities
void setLiveRepeaterCapabilities(int liveRepeaterCapabilities)
-
getProtocol
int getProtocol()
-
setProtocol
void setProtocol(int protocol)
-
getWowzSession
com.wowza.wms.protocol.wowz.WOWZSession getWowzSession()
-
setWowzSession
void setWowzSession(com.wowza.wms.protocol.wowz.WOWZSession wowzSession)
-
isSSL
boolean isSSL()
-
setSSL
void setSSL(boolean isSSL)
-
-