org.jacorb.orb.http
Class ServerConnection

java.lang.Object
  extended byorg.jacorb.orb.connection.ServerConnection
      extended byorg.jacorb.orb.http.ServerConnection

public final class ServerConnection
extends org.jacorb.orb.connection.ServerConnection

See Also:
Serialized Form

Constructor Summary
ServerConnection(ORB orb, boolean is_ssl, java.net.Socket s, java.io.InputStream _in_stream)
           
 
Method Summary
protected  void abort()
           
 void closeConnection()
          socket closing etc is done after each single HTTP Connection
 boolean connected()
           
 byte[] readBuffer()
           
 void reconnect()
           
 void sendCloseConnection()
          send a "close connection" message to the other side.
 void sendLocateReply(int request_id, int status, Object arg, int giop_minor)
           
 void sendReply(ReplyOutputStream os)
           
 void setTimeOut(int timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerConnection

public ServerConnection(ORB orb,
                        boolean is_ssl,
                        java.net.Socket s,
                        java.io.InputStream _in_stream)
                 throws java.io.IOException
Method Detail

abort

protected void abort()
              throws java.io.EOFException
Throws:
java.io.EOFException

closeConnection

public void closeConnection()
socket closing etc is done after each single HTTP Connection


connected

public boolean connected()

readBuffer

public byte[] readBuffer()
                  throws java.io.IOException
Throws:
java.io.IOException

reconnect

public void reconnect()
               throws COMM_FAILURE
Throws:
COMM_FAILURE

sendCloseConnection

public void sendCloseConnection()
                         throws COMM_FAILURE
send a "close connection" message to the other side.

Throws:
COMM_FAILURE

sendLocateReply

public void sendLocateReply(int request_id,
                            int status,
                            Object arg,
                            int giop_minor)
                     throws COMM_FAILURE
Throws:
COMM_FAILURE

sendReply

public void sendReply(ReplyOutputStream os)
               throws java.io.IOException
Throws:
java.io.IOException

setTimeOut

public void setTimeOut(int timeout)
                throws java.net.SocketException
Throws:
java.net.SocketException