jp.co.nec.orb
クラス SocketConnection

java.lang.Object
  |
  +--jp.co.nec.orb.SocketConnection
直系の既知のサブクラス:
ClientReader, ServerConnection

public abstract class SocketConnection
extends java.lang.Object


メソッドの概要
 IIOPOutputStreamImpl createCancelRequest(IOR ior, int requestID)
          create GIOP CancelRequest
 IIOPOutputStreamImpl createCloseConnection(IOR ior)
          create GIOP CloseConnection
 IIOPOutputStreamImpl createLocateReply(Message request, int locatestatus)
          create GIOP LocateReply
 IIOPOutputStreamImpl createLocateRequest(IOR ior)
          create GIOP LocateRequest
 IIOPOutputStreamImpl createMessageError(Message msg)
          create GIOP MessageError
 IIOPOutputStreamImpl createReply(Message request, int replystatus, ServiceContextList scl)
          create GIOP Reply
 IIOPOutputStreamImpl createRequest(Object target, IOR ior, ServiceContextList scl, java.lang.String operation, Principal prcpl, boolean response, ORB orb)
          create GIOP Request Message
 CodeSetContext getCodeSet()
          CodeSet of this connection
 java.io.InputStream getInputStream()
           
 java.io.OutputStream getOutputStream()
           
 SessionComponent getSession()
          to identify ORACLE's SessionIIOP
 java.net.Socket getSocket()
          get Socket
 void handleCancelRequest(Message message)
           
 void handleCloseConnection(Message message)
           
 void handleExceptionMessage(Message message)
           
 void handleFragment(Message message)
           
 void handleFragmentError(Message message)
           
 void handleLocateReply(Message message)
           
 void handleLocateRequest(Message message)
           
 void handleMessageError(Message message)
           
 void handleReply(Message message)
           
 void handleRequest(Message message)
          handler of Received Messages
 void handleUnkownMessage(Message message)
           
 boolean isSSLConnection()
           
 void isSSLConnection(boolean b)
           
abstract  void releaseMessage(Message message)
           
 void setCodeSet(CodeSetContext csctx)
           
 java.lang.String toString()
           
 
クラス java.lang.Object から継承したメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

メソッドの詳細

isSSLConnection

public void isSSLConnection(boolean b)

isSSLConnection

public boolean isSSLConnection()

releaseMessage

public abstract void releaseMessage(Message message)

getCodeSet

public CodeSetContext getCodeSet()
CodeSet of this connection
戻り値:
CodeSetContext transmission code set

setCodeSet

public void setCodeSet(CodeSetContext csctx)

getSession

public SessionComponent getSession()
to identify ORACLE's SessionIIOP
戻り値:
SessionComponent

getSocket

public java.net.Socket getSocket()
get Socket
戻り値:
Socket socket already connects to remote host

getInputStream

public java.io.InputStream getInputStream()

getOutputStream

public java.io.OutputStream getOutputStream()

createRequest

public IIOPOutputStreamImpl createRequest(Object target,
                                          IOR ior,
                                          ServiceContextList scl,
                                          java.lang.String operation,
                                          Principal prcpl,
                                          boolean response,
                                          ORB orb)
create GIOP Request Message
パラメータ:
target - object reference of target
ior - ior of target
scl - service context
operation - operation name
pclpl - principal
response - waiting response

createReply

public IIOPOutputStreamImpl createReply(Message request,
                                        int replystatus,
                                        ServiceContextList scl)
create GIOP Reply

createCancelRequest

public IIOPOutputStreamImpl createCancelRequest(IOR ior,
                                                int requestID)
create GIOP CancelRequest

createLocateRequest

public IIOPOutputStreamImpl createLocateRequest(IOR ior)
create GIOP LocateRequest
パラメータ:
ior - ior of target

createLocateReply

public IIOPOutputStreamImpl createLocateReply(Message request,
                                              int locatestatus)
create GIOP LocateReply

createCloseConnection

public IIOPOutputStreamImpl createCloseConnection(IOR ior)
create GIOP CloseConnection

createMessageError

public IIOPOutputStreamImpl createMessageError(Message msg)
create GIOP MessageError

handleRequest

public void handleRequest(Message message)
handler of Received Messages

handleReply

public void handleReply(Message message)

handleCancelRequest

public void handleCancelRequest(Message message)

handleLocateRequest

public void handleLocateRequest(Message message)

handleLocateReply

public void handleLocateReply(Message message)

handleCloseConnection

public void handleCloseConnection(Message message)

handleMessageError

public void handleMessageError(Message message)

handleFragment

public void handleFragment(Message message)

handleFragmentError

public void handleFragmentError(Message message)

handleExceptionMessage

public void handleExceptionMessage(Message message)

handleUnkownMessage

public void handleUnkownMessage(Message message)

toString

public java.lang.String toString()
オーバーライド:
クラス java.lang.Object 内の toString