ami
Class AMIQuery

java.lang.Object
  |
  +--ami.AMIQuery
Direct Known Subclasses:
AMIar, AMIiai, AMIping, AMIQueryVoid

abstract class AMIQuery
extends Object

Abstract class for AMIiai, AMIping and AMIar

Version:
1.0
Author:
Bertrand Florat

Field Summary
private  int iPriority
          Query priority
private  String sSrcIP
          Source IP ( for reply )
private  String sSrcPort
          Source port ( for reply )
 
Constructor Summary
(package private) AMIQuery(int iPriority)
          Default constructor, at least the priority
 
Method Summary
(package private)  int getPriority()
          Get the priority
(package private)  String getSrcFullIP()
          Get IP under format: ip:port
(package private)  String getSrcIP()
          Get the incomming packet IP
(package private)  String getSrcPort()
          Get the port for reply
(package private)  void setPriority(int iPriority)
          Set the priority
(package private)  void setSrcIP(String sSrcIP)
          Set the incomming packet IP
(package private)  void setSrcPort(String sPort)
          Set the port for reply
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

iPriority

private int iPriority
Query priority

sSrcPort

private String sSrcPort
Source port ( for reply )

sSrcIP

private String sSrcIP
Source IP ( for reply )
Constructor Detail

AMIQuery

AMIQuery(int iPriority)
Default constructor, at least the priority
Parameters:
int - iPriority
Method Detail

getPriority

int getPriority()
Get the priority
Returns:
priority

setPriority

void setPriority(int iPriority)
Set the priority
Parameters:
iPriority -  

setSrcPort

void setSrcPort(String sPort)
Set the port for reply
Parameters:
sPort -  

getSrcPort

String getSrcPort()
Get the port for reply
Returns:
port

setSrcIP

void setSrcIP(String sSrcIP)
Set the incomming packet IP

getSrcIP

String getSrcIP()
Get the incomming packet IP

getSrcFullIP

String getSrcFullIP()
Get IP under format: ip:port