|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcdx.scorebot.net.tests.Service
public abstract class Service
an abstract service which contains basic info about a service (like what socket it is listening on)
Constructor Summary | |
---|---|
Service()
default constructor |
Method Summary | |
---|---|
boolean |
equals(Service s)
|
java.lang.String |
getTargetAddress()
gets the ip address or hostname of the service |
java.net.InetAddress |
getTargetInetAddress()
gets the target InetAddress |
int |
getTargetPort()
gets the port the service listens on |
void |
setTargetAddress(java.lang.String targetIP)
sets the ip address or hostname of the service |
void |
setTargetInetAddress(java.net.InetAddress targetIP)
sets the ip address or hostname of the service |
void |
setTargetPort(int targetPort)
sets the port the service listens on |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Service()
Method Detail |
---|
public java.net.InetAddress getTargetInetAddress() throws java.net.UnknownHostException
java.net.UnknownHostException
public void setTargetInetAddress(java.net.InetAddress targetIP)
public java.lang.String getTargetAddress()
public void setTargetAddress(java.lang.String targetIP)
public int getTargetPort()
public void setTargetPort(int targetPort)
public boolean equals(Service s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |