|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cnrg.itx.datax.devices.NetworkProperty
Class to implement the properties of a network device.
Constructor Summary | |
NetworkProperty(int iInitialSequenceNumber)
Creates a network proeprty object (for transmission destination -> source) |
|
NetworkProperty(int iPort,
java.net.InetAddress iaAddress,
int iPacketSize,
double dVersion)
Creates a network property object from the parameters. |
|
NetworkProperty(int iPort,
java.net.InetAddress iaAddress,
int iPacketSize,
double dVersion,
int iInitialSequenceNumber)
Creates a network property object from the parameters. |
Method Summary | |
PropertiesCollection |
findOptimal(PropertiesCollection pc)
Returns the optimal set of properties when merging the passed property with a properties collection object. |
java.net.InetAddress |
getAddress()
Gets the IP Address of the network device. |
int |
getInitialSequenceNumber()
Gets the initial sequence number. |
int |
getPacketSize()
Gets the data transmission packet size in bytes. |
int |
getPort()
Gets the port the device is bound on. |
double |
getVersion()
Gets the data encoding version. |
PropertiesCollection |
merge(PropertiesCollection pc)
Finds intersection of compatible properies properties. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public NetworkProperty(int iPort, java.net.InetAddress iaAddress, int iPacketSize, double dVersion)
iPort
- the port the device is listening oniaAddress
- the IP Address of the deviceiPacketSize
- the dataTransmission packet sizedVersion
- the data-encoding version.public NetworkProperty(int iPort, java.net.InetAddress iaAddress, int iPacketSize, double dVersion, int iInitialSequenceNumber)
iPort
- the port the device is listening oniaAddress
- the IP Address of the deviceiPacketSize
- the dataTransmission packet sizedVersion
- the data-encoding version.iInitialSequenceNumber
- the initial sequence number of the RTP packetspublic NetworkProperty(int iInitialSequenceNumber)
iInitialSequenceNumber
- the first sequence number that the receiver should expectMethod Detail |
public int getPort()
public java.net.InetAddress getAddress()
public int getPacketSize()
public double getVersion()
public int getInitialSequenceNumber()
public PropertiesCollection merge(PropertiesCollection pc) throws DataException
pc
- the collection of properties to mergepublic PropertiesCollection findOptimal(PropertiesCollection pc)
pc
- the PropertiesCollection object to find the optimal properties with
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |