SK.gnome.dwarf.tcpip
Class TCPRequest
java.lang.Object
SK.gnome.dwarf.tcpip.TCPRequest
- Direct Known Subclasses:
- EchoTCPRequest
- public abstract class TCPRequest
- extends java.lang.Object
Abstract client request for the non-blocking servers.
Non-blocking server mode operation is an experimental feature.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
server
protected TCPIPServer server
socket
protected java.net.Socket socket
TCPRequest
protected TCPRequest(TCPIPServer server)
init
protected void init()
isInitialized
protected boolean isInitialized()
process
protected abstract void process()
abort
protected void abort()
finish
protected void finish()
isFinished
protected boolean isFinished()
recycle
protected void recycle()
getChannel
protected java.nio.channels.SocketChannel getChannel()
isExpired
protected boolean isExpired()
checkExpired
protected void checkExpired()
throws java.net.SocketTimeoutException
- Throws:
java.net.SocketTimeoutException
log
protected void log(LogLevel level,
java.lang.String message)
log
protected void log(LogLevel level,
java.lang.String message,
java.lang.Throwable error)
Copyright (c) 1999-2005, Gnome Ltd. All rights reserved.