public class RequestedConnection
extends java.lang.Object
Constructor and Description |
---|
RequestedConnection(java.lang.String hostName,
int port,
Profile profile)
Create new RequestedConnection object
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getHostName()
Get hostname
|
int |
getPort()
Get port
|
Profile |
getProfile()
Get profile
|
long |
getTimeRequested()
Get the time this RequestedConnection was created.
|
int |
hashCode() |
public RequestedConnection(java.lang.String hostName, int port, Profile profile)
hostName
- - hostname to connect toport
- - port to useprofile
- - profile to usepublic java.lang.String getHostName()
public int getPort()
public Profile getProfile()
public long getTimeRequested()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object