|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.net.rtmp.Channel
public class Channel
Identified connection that transfers packets.
Field Summary | |
---|---|
protected static Logger |
log
|
Constructor Summary | |
---|---|
Channel(RTMPConnection conn,
int channelId)
Creates channel from connection and channel id |
Method Summary | |
---|---|
void |
close()
Closes channel with this id on RTMP connection. |
protected RTMPConnection |
getConnection()
Getter for RTMP connection. |
int |
getId()
Getter for id. |
void |
sendStatus(Status status)
Sends status notification. |
String |
toString()
|
void |
write(IRTMPEvent event)
Writes packet from event data to RTMP connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static Logger log
Constructor Detail |
---|
public Channel(RTMPConnection conn, int channelId)
conn
- ConnectionchannelId
- Channel idMethod Detail |
---|
public void close()
public int getId()
protected RTMPConnection getConnection()
public void write(IRTMPEvent event)
event
- Event datapublic void sendStatus(Status status)
status
- Statuspublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |