|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.PipeImpl
public class PipeImpl
Pipe implementation.
| Field Summary | |
|---|---|
protected MediaSink |
sink
|
protected MediaSource |
source
|
| Fields inherited from interface org.mobicents.media.server.spi.io.Pipe |
|---|
INPUT, OUTPUT |
| Constructor Summary | |
|---|---|
PipeImpl()
|
|
| Method Summary | |
|---|---|
void |
connect(MediaSink sink)
(Non Java-doc.) |
void |
connect(MediaSource source)
(Non Java-doc.) |
void |
disconnect()
(Non Java-doc.) |
void |
disconnect(int termination)
(Non Java-doc.) |
int |
getRxPackets()
|
int |
getTxPackets()
|
protected Frame |
read()
Reads the frame from inner buffer and removes it from inner buffer. |
void |
setDebug(boolean isDebug)
|
int |
size()
Gets the current size of inner buffer. |
void |
start()
(Non Java-doc.) |
void |
stop()
(Non Java-doc.) |
protected void |
write(Frame frame)
Writes frame into the inner buffer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected MediaSource source
protected MediaSink sink
| Constructor Detail |
|---|
public PipeImpl()
| Method Detail |
|---|
public void setDebug(boolean isDebug)
protected void write(Frame frame)
frame - the frame to writeprotected Frame read()
public void connect(MediaSource source)
connect in interface PipePipe.connect(org.mobicents.media.MediaSource)public void connect(MediaSink sink)
connect in interface PipePipe.connect(org.mobicents.media.MediaSink)public void disconnect(int termination)
disconnect in interface PipePipe.disconnect(int)public void disconnect()
disconnect in interface PipePipe.disconnect()public int size()
public void start()
start in interface PipePipe.start()public void stop()
stop in interface PipePipe.stop()public int getRxPackets()
public int getTxPackets()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||