|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.samples.client.SimpleClient
public class SimpleClient
Sample class that uses the client mode of the RTMP library to connect to the "oflaDemo" application on the current server.
http://mirror1.cvsdude.com/trac/osflash/red5/ticket/94| Constructor Summary | |
|---|---|
SimpleClient()
|
|
| Method Summary | |
|---|---|
void |
connectionClosed(RTMPConnection conn,
RTMP state)
Connection closed |
void |
connectionOpened(RTMPConnection conn,
RTMP state)
Connection open event |
static void |
main(String[] args)
|
void |
messageReceived(RTMPConnection conn,
ProtocolState state,
Object message)
Message recieved |
void |
messageSent(RTMPConnection conn,
Object message)
Message sent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleClient()
| Method Detail |
|---|
public static void main(String[] args)
public void connectionOpened(RTMPConnection conn,
RTMP state)
connectionOpened in interface IRTMPHandlerconn - Connectionstate - RTMP state
public void messageReceived(RTMPConnection conn,
ProtocolState state,
Object message)
throws Exception
messageReceived in interface IRTMPHandlerconn - Connectionstate - RTMP statemessage - Message
Exception - Exception
public void messageSent(RTMPConnection conn,
Object message)
messageSent in interface IRTMPHandlerconn - Connectionmessage - Message
public void connectionClosed(RTMPConnection conn,
RTMP state)
connectionClosed in interface IRTMPHandlerconn - Connectionstate - RTMP state
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||