|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.rtp.Receiver
public class Receiver
| Field Summary | |
|---|---|
static int |
POLL_PERIOD
Poll period measured in milliseconds |
| Constructor Summary | |
|---|---|
Receiver(RtpFactory factory)
Creates new instance of Receiver. |
|
| Method Summary | |
|---|---|
void |
cancel()
Stops receiver. |
java.nio.channels.Selector |
getSelector()
Gets datagram channel selector. |
boolean |
isActive()
Shows the state of the receiver. |
int |
perform()
Perform IO operations and operation which depends from IO. |
void |
start()
Starts receiver. |
void |
stop()
Stops receiver. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int POLL_PERIOD
| Constructor Detail |
|---|
public Receiver(RtpFactory factory)
throws java.io.IOException
factory - RTP manager running this receiver.
java.io.IOException| Method Detail |
|---|
public java.nio.channels.Selector getSelector()
public void start()
public void stop()
public void cancel()
cancel in interface org.mobicents.media.server.spi.clock.Taskpublic boolean isActive()
isActive in interface org.mobicents.media.server.spi.clock.Taskpublic int perform()
perform in interface org.mobicents.media.server.spi.clock.Task
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||