SSF.OS
Class ICMP
java.lang.Object
|
+--SSF.OS.ProtocolSession
|
+--SSF.OS.ICMP
- All Implemented Interfaces:
- com.renesys.raceway.DML.Configurable
- public synchronized class ICMP
- extends ProtocolSession
- implements com.renesys.raceway.DML.Configurable
|
Constructor Summary |
ICMP()
|
|
Method Summary |
void |
config(com.renesys.raceway.DML.Configuration)
|
private void |
dispatchToListeners(ICMPHeader)
|
void |
finished(ProtocolSession)
|
void |
init()
|
void |
listen(ProtocolSession)
|
int |
ping(int,
int)
|
int |
ping(int,
int,
int,
double)
|
int |
ping(int,
int,
int,
double,
int)
|
boolean |
push(ProtocolMessage,
ProtocolSession)
|
private void |
singlePing(int,
int,
int,
int,
int)
|
static boolean |
suppressReporting(IpHeader)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ip
ProtocolSession ip
DEBUG
private boolean DEBUG
ICMP_ECHO_RESPONSE
public static final int ICMP_ECHO_RESPONSE
- See Also:
- Constant Field Values
ICMP_DESTINATION_UNREACHABLE
public static final int ICMP_DESTINATION_UNREACHABLE
- See Also:
- Constant Field Values
ICMP_SOURCE_QUENCH
public static final int ICMP_SOURCE_QUENCH
- See Also:
- Constant Field Values
ICMP_REDIRECT
public static final int ICMP_REDIRECT
- See Also:
- Constant Field Values
ICMP_ECHO_REQUEST
public static final int ICMP_ECHO_REQUEST
- See Also:
- Constant Field Values
ICMP_TIME_EXCEEDED
public static final int ICMP_TIME_EXCEEDED
- See Also:
- Constant Field Values
ICMP_PARAMETER_FAULT
public static final int ICMP_PARAMETER_FAULT
- See Also:
- Constant Field Values
ICMP_TIMESTAMP_REQUEST
public static final int ICMP_TIMESTAMP_REQUEST
- See Also:
- Constant Field Values
ICMP_TIMESTAMP_RESPONSE
public static final int ICMP_TIMESTAMP_RESPONSE
- See Also:
- Constant Field Values
ICMP_CODE_HOST_UNREACHABLE
public static final int ICMP_CODE_HOST_UNREACHABLE
- See Also:
- Constant Field Values
ICMP_CODE_PROTOCOL_UNREACHABLE
public static final int ICMP_CODE_PROTOCOL_UNREACHABLE
- See Also:
- Constant Field Values
ICMP_CODE_PORT_UNREACHABLE
public static final int ICMP_CODE_PORT_UNREACHABLE
- See Also:
- Constant Field Values
listeners
java.util.ArrayList listeners
nextSeq
private int nextSeq
ICMP
public ICMP()
suppressReporting
public static boolean suppressReporting(IpHeader)
listen
public void listen(ProtocolSession)
finished
public void finished(ProtocolSession)
dispatchToListeners
private void dispatchToListeners(ICMPHeader)
throws ProtocolException
ProtocolException
singlePing
private void singlePing(int,
int,
int,
int,
int)
throws ProtocolException
ProtocolException
ping
public int ping(int,
int)
throws ProtocolException
ProtocolException
ping
public int ping(int,
int,
int,
double,
int)
throws ProtocolException
ProtocolException
ping
public int ping(int,
int,
int,
double)
throws ProtocolException
ProtocolException
push
public boolean push(ProtocolMessage,
ProtocolSession)
throws ProtocolException
- Specified by:
push in class ProtocolSession
ProtocolException
config
public void config(com.renesys.raceway.DML.Configuration)
throws com.renesys.raceway.DML.configException
- Specified by:
config in interface com.renesys.raceway.DML.Configurable- Overrides:
config in class ProtocolSession
com.renesys.raceway.DML.configException
init
public void init()
throws ProtocolException
- Overrides:
init in class ProtocolSession
ProtocolException