|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cnrg.itx.gtwy.RecordSource
This is abstracted as the source for the voice data packets sent from the Gateway to the computer network.
RecordChannel
,
Source
Constructor Summary | |
RecordSource(cnrg.itx.datax.Channel c,
Line l)
|
Method Summary | |
void |
close()
Method for closing the source. |
Line |
getLine()
Called to get the Line instance associated with RecordSource . |
cnrg.itx.datax.PropertiesCollection |
getProperties()
The Gateway is not concerned about properties. |
cnrg.itx.datax.Stats |
getStatistics()
|
boolean |
mute(boolean mode)
Method to mute and unmute the source. |
void |
sendToNetwork(byte[] data)
Called whenever data is received from a phone. |
void |
setPeerProperties(cnrg.itx.datax.PropertiesCollection pc)
Peer properties are never set. |
void |
setProperties(cnrg.itx.datax.PropertiesCollection pc)
No properties are set. |
void |
start()
Method to start the source. |
void |
stop()
Method to stop the source. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public RecordSource(cnrg.itx.datax.Channel c, Line l)
c
- the Channel
instance used for sending packets from a phone to the computer
network.l
- the Line
instance associated with RecordSource
.Line
,
Channel
Method Detail |
public void start()
public void stop()
public boolean mute(boolean mode)
mode
- true if muted; false otherwise.public void close()
public void sendToNetwork(byte[] data)
data
- the voice data in bytespublic Line getLine()
Line
instance associated with RecordSource
.Line
instance.Line
public cnrg.itx.datax.PropertiesCollection getProperties() throws cnrg.itx.datax.DataException
public void setProperties(cnrg.itx.datax.PropertiesCollection pc) throws cnrg.itx.datax.DataException
public void setPeerProperties(cnrg.itx.datax.PropertiesCollection pc) throws cnrg.itx.datax.DataException
public cnrg.itx.datax.Stats getStatistics()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |