|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.ProtocolSession
|
+--gov.nist.antd.traffic_generator.udpTGServer
| Nested Class Summary | |
(package private) class |
udpTGServer.slaveServer
The slave server inner class |
| Field Summary | |
(package private) int |
client_limit
max number of clients of this server - default is unlimited |
(package private) int |
clientNumber
current number of contemporaneous clients of this server |
int |
datagram_size
|
double |
datagram_size_deviation
|
java.lang.String |
datagram_size_distribution
|
(package private) boolean |
debug
default is don't print verbose debugging information |
int |
docsize
|
double |
end_transmit_time
|
boolean |
isMCastTraffic
|
(package private) Host |
localHost
Host entity where this pseudo-protocol is installed |
(package private) int |
localIP
Host's IP address |
(package private) java.lang.String |
localNHI
Host's NHI address |
(package private) java.lang.Object[] |
obj
|
double |
packet_gen_rate_deviation
|
java.lang.String |
packet_gen_rate_distribution
|
double |
PacketGenerationRate
|
(package private) RandomInfo |
randomInfo
|
int |
remote_ip
|
int |
remote_port
|
(package private) int |
request_size
size of data request object from matching client |
(package private) boolean |
show_report
default is show summary session information |
(package private) SSF.OS.Socket.socketMaster |
socketms
Host's Socket ProtocolSession |
double |
start_time
|
(package private) SSF.OS.UDP.udpSocket |
udpsocket
"listening" socket of this server |
(package private) int |
wellKnownPort
port number used by this server |
| Fields inherited from class SSF.OS.ProtocolSession |
name, use |
| Constructor Summary | |
udpTGServer()
Server configuration. |
|
| Method Summary | |
void |
config(com.renesys.raceway.DML.Configuration cfg)
Class Methods |
void |
configMcast(com.renesys.raceway.DML.Configuration cfg,
boolean isInit)
|
void |
configTGServer(com.renesys.raceway.DML.Configuration cfg)
|
void |
init()
|
void |
initMcastGroupId()
|
boolean |
push(ProtocolMessage message,
ProtocolSession fromSession)
|
void |
serv()
Method - Serv Play a server role |
(package private) void |
serverInfo(java.lang.String str)
preamble to server diagnostics |
void |
startMCastTraffic()
|
| Methods inherited from class SSF.OS.ProtocolSession |
close, closed, debugIdentifier, inGraph, open, opened, pushAfterDelay, pushAfterDelayFailed, setGraph, version |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
int wellKnownPort
public double PacketGenerationRate
public java.lang.String packet_gen_rate_distribution
public double packet_gen_rate_deviation
public int datagram_size
public java.lang.String datagram_size_distribution
public double datagram_size_deviation
int request_size
SSF.OS.UDP.udpSocket udpsocket
int client_limit
int clientNumber
Host localHost
int localIP
java.lang.String localNHI
SSF.OS.Socket.socketMaster socketms
boolean debug
boolean show_report
RandomInfo randomInfo
public double end_transmit_time
public boolean isMCastTraffic
public int remote_ip
public int remote_port
public int docsize
public double start_time
java.lang.Object[] obj
| Constructor Detail |
public udpTGServer()
ProtocolSession [ name server use gov.nist.antd.traffic_generator.udpTGServer
port %I # server's well known port number
client_limit %I # max number of simultaneous clients,
# if omitted, no limit
end_transmit_time %d # time to stop transmission packet
request_size %I # client request nominal datagram size (bytes, int)
show_report %S # print client-server session summary report, true/false
debug %S # print verbose client/server diagnostics, true/false
packet_gen_rate %F # packet generation rate of this server..
packet_gen_rate_distribution %s # packet generation rate distribution, Normal or Exponential
packet_gen_rate_deviation %f # packet generation rate deviation, only Normal distribution
# unit : % of the packet generation rate, 0 <= packet_gen_rate_deviation < 1.0
datagram_size %I # max server datagram payload size (virtual bytes, int)
datagram_size_distribution %s # datagram size distrubution, Normal or Exponential
datagram_size_deviation %f # datagram size deviation, only Normal distribution
# unit : % of the datagram size, 0 <= packet_gen_rate_deviation < 1.0
]
| Method Detail |
public void config(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
config in interface com.renesys.raceway.DML.Configurableconfig in class ProtocolSessioncom.renesys.raceway.DML.configException
public void configTGServer(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
com.renesys.raceway.DML.configException
public void configMcast(com.renesys.raceway.DML.Configuration cfg,
boolean isInit)
throws com.renesys.raceway.DML.configException
com.renesys.raceway.DML.configExceptionpublic void init()
init in class ProtocolSessionpublic void initMcastGroupId()
public void startMCastTraffic()
public void serv()
void serverInfo(java.lang.String str)
public boolean push(ProtocolMessage message,
ProtocolSession fromSession)
throws ProtocolException
push in class ProtocolSessionProtocolException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||