|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjerklib.RequestedConnection
public class RequestedConnection
Class to encapsulate data about a requested connection,
Constructor Summary | |
---|---|
RequestedConnection(String hostName,
int port,
Profile profile)
Create new RequestedConnection object |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getHostName()
Get hostname |
int |
getPort()
Get port |
Profile |
getProfile()
Get profile |
long |
getTimeRequested()
Get the time this RequestedConnection was created. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestedConnection(String hostName, int port, Profile profile)
hostName
- - hostname to connect toport
- - port to useprofile
- - profile to useMethod Detail |
---|
public String getHostName()
public int getPort()
public Profile getProfile()
public long getTimeRequested()
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |