org.jacorb.orb.http

Class ServerConnection


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

Constructor Summary

ServerConnection(ORB orb, boolean is_ssl, 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)

Constructor Details

ServerConnection

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

Method Details

abort

protected void abort()
            throws 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


reconnect

public void reconnect()
            throws COMM_FAILURE


sendCloseConnection

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


sendLocateReply

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


sendReply

public void sendReply(ReplyOutputStream os)
            throws IOException


setTimeOut

public void setTimeOut(int timeout)
            throws SocketException