org.opengts.util
Interface ServerSocketThread.SessionInfo

All Known Implementing Classes:
ServerSocketThread.ServerSessionThread
Enclosing class:
ServerSocketThread

public static interface ServerSocketThread.SessionInfo

SessionInfo


Method Summary
 void forceCloseTCPSession()
           
 int getAvailableBytes()
           
 java.net.InetAddress getInetAddress()
           
 int getLocalPort()
           
 long getReadByteCount()
           
 int getRemotePort()
           
 long getSessionReceiveTime()
           
 long getSessionStartTime()
           
 long getSessionStartTimeMS()
           
 java.lang.Thread getSessionThread()
           
 long getWriteByteCount()
           
 boolean isInputStream()
           
 boolean isTCP()
           
 boolean isUDP()
           
 boolean tcpWrite(byte[] data)
           
 boolean udpWrite(byte[] data)
           
 

Method Detail

getSessionThread

java.lang.Thread getSessionThread()

getSessionStartTimeMS

long getSessionStartTimeMS()

getSessionStartTime

long getSessionStartTime()

getSessionReceiveTime

long getSessionReceiveTime()

getLocalPort

int getLocalPort()

isTCP

boolean isTCP()

isUDP

boolean isUDP()

isInputStream

boolean isInputStream()

forceCloseTCPSession

void forceCloseTCPSession()

getAvailableBytes

int getAvailableBytes()

getInetAddress

java.net.InetAddress getInetAddress()

getRemotePort

int getRemotePort()

tcpWrite

boolean tcpWrite(byte[] data)

udpWrite

boolean udpWrite(byte[] data)

getReadByteCount

long getReadByteCount()

getWriteByteCount

long getWriteByteCount()