public class TcpConnectionInfo
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
TcpConnectionInfo(int id,
long threadId,
java.lang.String address,
int port,
java.lang.String state,
long requestStartTime) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress() |
int |
getId() |
int |
getPort() |
java.lang.String |
getPortName() |
java.lang.String |
getRemoteAddress() |
long |
getRequestActiveTime() |
long |
getRequestStartTime() |
java.lang.String |
getState() |
long |
getThreadId() |
java.lang.String |
getUrl() |
boolean |
hasRequest() |
void |
setRemoteAddress(java.lang.String remoteAddress) |
void |
setUrl(java.lang.String url) |
java.lang.String |
toString() |
public TcpConnectionInfo(int id, long threadId, java.lang.String address, int port, java.lang.String state, long requestStartTime)
public int getId()
public long getThreadId()
public java.lang.String getAddress()
public int getPort()
public java.lang.String getPortName()
public java.lang.String getState()
public boolean hasRequest()
public long getRequestStartTime()
public long getRequestActiveTime()
public void setRemoteAddress(java.lang.String remoteAddress)
public java.lang.String getRemoteAddress()
public void setUrl(java.lang.String url)
public java.lang.String getUrl()
public java.lang.String toString()
toString
in class java.lang.Object