jp.co.nec.orb
クラス ClientReader

java.lang.Object
  |
  +--jp.co.nec.orb.SocketConnection
        |
        +--jp.co.nec.orb.ClientReader
すべての実装インタフェース:
java.lang.Runnable
直系の既知のサブクラス:
ClientExtendedReader

public class ClientReader
extends SocketConnection
implements java.lang.Runnable


フィールドの概要
 int _auto_timeout
           
 
コンストラクタの概要
ClientReader(java.net.InetAddress address, int port, CodeSetContext code_set, SessionComponent session, boolean shared)
           
ClientReader(java.net.InetAddress address, int port, CodeSetContext code_set, SessionComponent session, boolean shared, java.lang.Object obj, boolean autotimeout)
           
 
メソッドの概要
 IIOPOutputStreamImpl createLocateRequest(IOR ior)
          create GIOP LocateRequest
 IIOPOutputStreamImpl createRequest(Object target, IOR ior, ServiceContextList scl, java.lang.String operation, Principal prcpl, boolean response, ORB orb)
          client specific createMethods
 void disconnect(boolean deferred)
          disconnect this connection. if param is true, connection will be closed after all current requests are finished. if param is false, connection will be closed, without waiting requests finished.
 java.io.InputStream getInputStream()
          get InputStream, if null, create socket and start ReaderThread.
 java.io.OutputStream getOutputStream()
          get OutputStream, if null, create socket and start ReaderThread.
 void handleCloseConnection(Message message)
          call from Message. cancel all requests and stop ReaderThread
 void handleLocateReply(Message message)
           
 void handleMessageError(Message message)
          call from Message cancel all requests and stop ReaderThread
 void handleReply(Message message)
          client specific handleMethods
 void releaseMessage(Message message)
          release Request Message. unregister it from RequestTable and release Message Resource.
 int request_id()
           
 void run()
          ReaderThread's main loop.
static void set_auto_timeout(int timeout)
           
 
クラス jp.co.nec.orb.SocketConnection から継承したメソッド
createCancelRequest, createCloseConnection, createLocateReply, createMessageError, createReply, getCodeSet, getSession, getSocket, handleCancelRequest, handleExceptionMessage, handleFragment, handleFragmentError, handleLocateRequest, handleRequest, handleUnkownMessage, isSSLConnection, isSSLConnection, setCodeSet, toString
 
クラス java.lang.Object から継承したメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

_auto_timeout

public int _auto_timeout
コンストラクタの詳細

ClientReader

public ClientReader(java.net.InetAddress address,
                    int port,
                    CodeSetContext code_set,
                    SessionComponent session,
                    boolean shared)

ClientReader

public ClientReader(java.net.InetAddress address,
                    int port,
                    CodeSetContext code_set,
                    SessionComponent session,
                    boolean shared,
                    java.lang.Object obj,
                    boolean autotimeout)
メソッドの詳細

set_auto_timeout

public static void set_auto_timeout(int timeout)

request_id

public int request_id()

disconnect

public void disconnect(boolean deferred)
disconnect this connection. if param is true, connection will be closed after all current requests are finished. if param is false, connection will be closed, without waiting requests finished.

getOutputStream

public java.io.OutputStream getOutputStream()
get OutputStream, if null, create socket and start ReaderThread.
オーバーライド:
クラス SocketConnection 内の getOutputStream
戻り値:
OutputStream

getInputStream

public java.io.InputStream getInputStream()
get InputStream, if null, create socket and start ReaderThread.
オーバーライド:
クラス SocketConnection 内の getInputStream
戻り値:
InputStream

releaseMessage

public void releaseMessage(Message message)
release Request Message. unregister it from RequestTable and release Message Resource.
オーバーライド:
クラス SocketConnection 内の releaseMessage

createRequest

public IIOPOutputStreamImpl createRequest(Object target,
                                          IOR ior,
                                          ServiceContextList scl,
                                          java.lang.String operation,
                                          Principal prcpl,
                                          boolean response,
                                          ORB orb)
client specific createMethods
オーバーライド:
クラス SocketConnection 内の createRequest
クラス jp.co.nec.orb.SocketConnection からコピーされたタグ:
パラメータ:
target - object reference of target
ior - ior of target
scl - service context
operation - operation name
pclpl - principal
response - waiting response

createLocateRequest

public IIOPOutputStreamImpl createLocateRequest(IOR ior)
クラス SocketConnection の記述:
create GIOP LocateRequest
オーバーライド:
クラス SocketConnection 内の createLocateRequest
クラス jp.co.nec.orb.SocketConnection からコピーされたタグ:
パラメータ:
ior - ior of target

handleReply

public void handleReply(Message message)
client specific handleMethods
オーバーライド:
クラス SocketConnection 内の handleReply

handleLocateReply

public void handleLocateReply(Message message)
オーバーライド:
クラス SocketConnection 内の handleLocateReply

handleCloseConnection

public void handleCloseConnection(Message message)
call from Message. cancel all requests and stop ReaderThread
オーバーライド:
クラス SocketConnection 内の handleCloseConnection

handleMessageError

public void handleMessageError(Message message)
call from Message cancel all requests and stop ReaderThread
オーバーライド:
クラス SocketConnection 内の handleMessageError

run

public void run()
ReaderThread's main loop.
定義:
インタフェース java.lang.Runnable 内の run