org.red5.server.net.rtmp.event
Class SWFResponse

java.lang.Object
  extended by org.red5.server.net.rtmp.event.BaseEvent
      extended by org.red5.server.net.rtmp.event.Ping
          extended by org.red5.server.net.rtmp.event.SWFResponse
All Implemented Interfaces:
Externalizable, Serializable, IEvent, IRTMPEvent, Constants

public class SWFResponse
extends Ping

Control message used in response to a SWF verification request.

Author:
Paul Gregoire ([email protected])
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.red5.server.api.event.IEvent
IEvent.Type
 
Field Summary
 
Fields inherited from class org.red5.server.net.rtmp.event.Ping
BUFFER_EMPTY, BUFFER_FULL, CLIENT_BUFFER, eventType, PING_CLIENT, PING_SWF_VERIFY, PONG_SERVER, PONG_SWF_VERIFY, RECORDED_STREAM, STREAM_BEGIN, STREAM_DRY, STREAM_PLAYBUFFER_CLEAR, UNDEFINED, UNKNOWN_5, UNKNOWN_8
 
Fields inherited from class org.red5.server.net.rtmp.event.BaseEvent
header, object, refcount, source, timestamp
 
Fields inherited from interface org.red5.server.net.rtmp.message.Constants
HANDSHAKE_SIZE, HEADER_CONTINUE, HEADER_NEW, HEADER_SAME_SOURCE, HEADER_TIMER_CHANGE, MEDIUM_INT_MAX, SO_CLIENT_CLEAR_DATA, SO_CLIENT_DELETE_DATA, SO_CLIENT_INITIAL_DATA, SO_CLIENT_SEND_MESSAGE, SO_CLIENT_STATUS, SO_CLIENT_UPDATE_ATTRIBUTE, SO_CLIENT_UPDATE_DATA, SO_CONNECT, SO_DELETE_ATTRIBUTE, SO_DISCONNECT, SO_SEND_MESSAGE, SO_SET_ATTRIBUTE, SOURCE_TYPE_LIVE, SOURCE_TYPE_VOD, TYPE_ABORT, TYPE_AGGREGATE, TYPE_AUDIO_DATA, TYPE_BYTES_READ, TYPE_CHUNK_SIZE, TYPE_CLIENT_BANDWIDTH, TYPE_EDGE_ORIGIN, TYPE_FLEX_MESSAGE, TYPE_FLEX_SHARED_OBJECT, TYPE_FLEX_STREAM_SEND, TYPE_INVOKE, TYPE_NOTIFY, TYPE_PING, TYPE_SERVER_BANDWIDTH, TYPE_SHARED_OBJECT, TYPE_STREAM_METADATA, TYPE_VIDEO_DATA
 
Constructor Summary
SWFResponse()
           
SWFResponse(byte[] bytes)
           
 
Method Summary
 byte[] getBytes()
           
 void readExternal(ObjectInput in)
           
 void setBytes(byte[] bytes)
           
 String toString()
          
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.red5.server.net.rtmp.event.Ping
doRelease, getDataType, getDebug, getEventType, getValue2, getValue3, getValue4, releaseInternal, setDebug, setEventType, setValue2, setValue3, setValue4
 
Methods inherited from class org.red5.server.net.rtmp.event.BaseEvent
getHeader, getObject, getSource, getSourceType, getTimestamp, getType, hasSource, release, retain, setHeader, setSource, setSourceType, setTimestamp, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SWFResponse

public SWFResponse()

SWFResponse

public SWFResponse(byte[] bytes)
Method Detail

getBytes

public byte[] getBytes()
Returns:
the bytes

setBytes

public void setBytes(byte[] bytes)
Parameters:
bytes - the bytes to set

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class Ping
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class Ping
Throws:
IOException

toString

public String toString()
Description copied from class: Ping

Overrides:
toString in class Ping


Copyright © 2006-2012 The Red5 Project