de.schwarzrot.app.net
Class TCPClient
java.lang.Object
de.schwarzrot.app.net.TCPClient
- All Implemented Interfaces:
- Client
public class TCPClient
- extends Object
- implements Client
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENDSIG
public static final String ENDSIG
- See Also:
- Constant Field Values
EOL
public static final String EOL
- See Also:
- Constant Field Values
TCPClient
public TCPClient(String host,
int port)
TCPClient
public TCPClient(String host,
int port,
Charset cs)
getNLSize
public final int getNLSize()
- Specified by:
getNLSize
in interface Client
getServerCharset
public final Charset getServerCharset()
getServerHostname
public final String getServerHostname()
getServerPort
public final int getServerPort()
isServerReachable
public boolean isServerReachable()
- Specified by:
isServerReachable
in interface Client
requestResponse
public final void requestResponse(ResponseHandler handler)
- Specified by:
requestResponse
in interface Client
setServerCharset
public final void setServerCharset(Charset serverCharset)
setServerHostname
public final void setServerHostname(String serverHostname)
setServerPort
public final void setServerPort(int serverPort)
getLogger
protected final org.apache.commons.logging.Log getLogger()
getServerResponse
protected Socket getServerResponse(String command,
Object requestArg)
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.