com.flazr.rtmp.message
Class Control

java.lang.Object
  extended by com.flazr.rtmp.message.AbstractMessage
      extended by com.flazr.rtmp.message.Control
All Implemented Interfaces:
RtmpMessage

public class Control
extends AbstractMessage


Nested Class Summary
static class Control.Type
           
 
Nested classes/interfaces inherited from class com.flazr.rtmp.message.AbstractMessage
AbstractMessage.Pair
 
Field Summary
 
Fields inherited from class com.flazr.rtmp.message.AbstractMessage
header
 
Constructor Summary
Control(RtmpHeader header, org.jboss.netty.buffer.ChannelBuffer in)
           
 
Method Summary
static Control bufferEmpty(int streamId)
           
static Control bufferFull(int streamId)
           
 void decode(org.jboss.netty.buffer.ChannelBuffer in)
           
 org.jboss.netty.buffer.ChannelBuffer encode()
           
 int getBufferLength()
           
 int getTime()
           
 Control.Type getType()
           
static Control pingRequest(int time)
           
static Control pingResponse(int time)
           
static Control setBuffer(int streamId, int bufferLength)
           
static Control streamBegin(int streamId)
           
static Control streamEof(int streamId)
           
static Control streamIsRecorded(int streamId)
           
static Control swfvResponse(byte[] bytes)
           
 String toString()
           
 
Methods inherited from class com.flazr.rtmp.message.AbstractMessage
getHeader, map, map, object, object, pair
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Control

public Control(RtmpHeader header,
               org.jboss.netty.buffer.ChannelBuffer in)
Method Detail

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.