gov.nist.antd.traffic_generator
Class udpTGServer.slaveServer
java.lang.Object
|
+--SSF.OS.ProtocolSession
|
+--gov.nist.antd.traffic_generator.udpTGServer.slaveServer
- All Implemented Interfaces:
- com.renesys.raceway.DML.Configurable
- Enclosing class:
- udpTGServer
- class udpTGServer.slaveServer
- extends ProtocolSession
The slave server inner class
|
Constructor Summary |
udpTGServer.slaveServer(int docsize,
int local_ip,
int local_port,
int remote_ip,
int remote_port)
|
| Methods inherited from class SSF.OS.ProtocolSession |
close, closed, config, debugIdentifier, inGraph, init, open, opened, pushAfterDelay, pushAfterDelayFailed, setGraph, version |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
owner
udpTGServer owner
nbytesRemaining
int nbytesRemaining
nbytesRequest
int nbytesRequest
numDatagrams
int numDatagrams
numFailures
int numFailures
sd
SSF.OS.UDP.udpSocket sd
srcIP
int srcIP
srcPort
int srcPort
destIP
int destIP
destPort
int destPort
dataSize
int dataSize
sequenceNum
long sequenceNum
isEnable
boolean isEnable
totalTransferBytes
double totalTransferBytes
buff
java.lang.Object[] buff
udpTGServer.slaveServer
public udpTGServer.slaveServer(int docsize,
int local_ip,
int local_port,
int remote_ip,
int remote_port)
start
void start()
- Method - start
Create the UDp session
createPacket
public userDataPacket createPacket(int packetsize)
- Method - Create UDP packet
senddata
void senddata()
- Method - senddata
Deliver the generated data
push
public boolean push(ProtocolMessage message,
ProtocolSession fromSession)
throws ProtocolException
- Specified by:
push in class ProtocolSession
ProtocolException