org.objectweb.joram.kclient
Class TcpChannel
java.lang.Object
org.objectweb.joram.kclient.Channel
org.objectweb.joram.kclient.TcpChannel
public class TcpChannel
- extends Channel
Constructor Summary |
TcpChannel(java.lang.String user,
java.lang.String pass,
java.lang.String host,
int port)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpChannel
public TcpChannel(java.lang.String user,
java.lang.String pass,
java.lang.String host,
int port)
connect
public void connect()
throws java.io.IOException
- Specified by:
connect
in class Channel
- Throws:
java.io.IOException
send
public void send(AbstractRequest request)
throws java.io.IOException
- Specified by:
send
in class Channel
- Throws:
java.io.IOException
receive
public AbstractReply receive()
throws java.lang.Exception
- Specified by:
receive
in class Channel
- Throws:
java.lang.Exception
close
public void close()
throws java.io.IOException
- Specified by:
close
in class Channel
- Throws:
java.io.IOException
Copyright © 2005 Scalagent - All rights reserved