|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cnrg.itx.datax.devices.NetworkDestination
Class to act as a channel endpoint. Sends data to the network.
Constructor Summary | |
NetworkDestination()
Default constructor to create a network destination. |
|
NetworkDestination(boolean useFECandRTP)
Constructor for the network device specifying if FEC and buffering should be used. |
Method Summary | |
void |
close()
Method to close the network destination |
PropertiesCollection |
getProperties()
Returns a collection of properties supported. |
Stats |
getStatistics()
|
boolean |
mute(boolean mute)
Method to mute the network destination. |
void |
setPeerProperties(PropertiesCollection pc)
Interface to set the given properties collection into the device. |
void |
setProperties(PropertiesCollection pc)
Sets the given properties collection into the device |
void |
write(byte[] b)
Method to write data to the stream. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public NetworkDestination() throws DataException
public NetworkDestination(boolean useFECandRTP) throws DataException
useFECandRTP
- true if FEC and RTP are to be usedMethod Detail |
public void write(byte[] b) throws DataException
b
- The array of bytes to write to the streampublic void close()
public boolean mute(boolean mute)
mute
- true if the device has to be muted and false if it has to be activatedpublic Stats getStatistics()
public PropertiesCollection getProperties() throws DataException
public void setProperties(PropertiesCollection pc) throws DataException
public void setPeerProperties(PropertiesCollection pc) throws DataException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |