com.flazr.rtmp.message
Class Control
java.lang.Object
com.flazr.rtmp.message.AbstractMessage
com.flazr.rtmp.message.Control
- All Implemented Interfaces:
- RtmpMessage
public class Control
- extends AbstractMessage
|
Constructor Summary |
Control(RtmpHeader header,
org.jboss.netty.buffer.ChannelBuffer in)
|
Control
public Control(RtmpHeader header,
org.jboss.netty.buffer.ChannelBuffer in)
setBuffer
public static Control setBuffer(int streamId,
int bufferLength)
pingRequest
public static Control pingRequest(int time)
pingResponse
public static Control pingResponse(int time)
swfvResponse
public static Control swfvResponse(byte[] bytes)
streamBegin
public static Control streamBegin(int streamId)
streamIsRecorded
public static Control streamIsRecorded(int streamId)
streamEof
public static Control streamEof(int streamId)
bufferEmpty
public static Control bufferEmpty(int streamId)
bufferFull
public static Control bufferFull(int streamId)
getType
public Control.Type getType()
getTime
public int getTime()
getBufferLength
public int getBufferLength()
encode
public org.jboss.netty.buffer.ChannelBuffer encode()
decode
public void decode(org.jboss.netty.buffer.ChannelBuffer in)
toString
public String toString()
- Overrides:
toString in class AbstractMessage
Copyright © 2011. All Rights Reserved.