Joram 5.0.9

org.objectweb.joram.kclient
Class TcpChannel

java.lang.Object
  extended by org.objectweb.joram.kclient.Channel
      extended by org.objectweb.joram.kclient.TcpChannel

public class TcpChannel
extends Channel


Field Summary
 
Fields inherited from class org.objectweb.joram.kclient.Channel
CLOSE, CONNECTED, CONNECTING, INIT, status, statusNames
 
Constructor Summary
TcpChannel(java.lang.String user, java.lang.String pass, java.lang.String host, int port)
           
 
Method Summary
 void close()
           
 void connect()
           
 AbstractReply receive()
           
 void send(AbstractRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcpChannel

public TcpChannel(java.lang.String user,
                  java.lang.String pass,
                  java.lang.String host,
                  int port)
Method Detail

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

Joram 5.0.9

Copyright © 2005 Scalagent - All rights reserved