jp.co.nec.orb.GIOP
クラス EncapsulateMessage

java.lang.Object
  |
  +--jp.co.nec.orb.GIOP.Message
        |
        +--jp.co.nec.orb.GIOP.EncapsulateMessage
すべての実装インタフェース:
Constant, ResponseHandler

public final class EncapsulateMessage
extends Message

This is implementation class of portable InputStream.


クラス jp.co.nec.orb.GIOP.Message から継承したフィールド
_ext_protocol, _interceptor_called_num, _policy_list, _reply_scl, _request_scl, BUFFER_EXPAND_SIZE_ADDITION, SIZE_PER_WRITE
 
インタフェース jp.co.nec.orb.Constant から継承したフィールド
BIG_ENDIAN, GIOP_1_0, GIOP_1_1, GIOP_1_2, GIOP_ENCAPSULATE, LITTLE_ENDIAN
 
コンストラクタの概要
EncapsulateMessage()
           
 
メソッドの概要
static IIOPInputStreamImpl createInputStream(byte[] buffer)
           
static IIOPInputStreamImpl createInputStream(byte[] buffer, int cs_char, int cs_wchar)
           
static IIOPInputStreamImpl createInputStream(byte[] buffer, int cs_char, int cs_wchar, ORB orb)
           
static IIOPInputStreamImpl createInputStream(byte[] buffer, ORB orb)
           
static IIOPOutputStreamImpl createOutputStream()
           
static IIOPOutputStreamImpl createOutputStream(int cs_char, int cs_wchar)
           
static IIOPOutputStreamImpl createOutputStream(int cs_char, int cs_wchar, ORB orb)
           
static IIOPOutputStreamImpl createOutputStream(ORB orb)
           
 byte[] getBuffer(int index)
           
 int getGIOPVersion()
          GIOP Version accesser
 Principal getPrincipal()
          Principal accesser
 void handleReadingException(java.lang.Exception excp)
          required from SocketConnection Return Exception
 void handleWritingException(java.lang.Exception excp)
          required from SocketConnection Return Exception
 boolean isFollowedFragmentData(byte[] message)
          Returns the true if there are more FragemntMessage else false.
 void movePositionForInputStream(BufferPosition bufpos, int move)
          for SocketInputStream
 void movePositionForOutputStream(BufferPosition bufpos, int move)
          for SocketOutputStream
 void prepareExpandedBuffer(int bufpos, int len, boolean expand)
          Enlarge Buffer for writer
 void prepareNextBuffer()
          Enlarge Buffer for reader
static void releaseInputStream(IIOPInputStreamImpl istream)
           
static void releaseOutputStream(IIOPOutputStreamImpl ostream)
           
 void releaseResource()
          Reset Message.
 void sendMessage(int bufpos)
          Send last Message.
 void setDIICall()
           
 void setFragmentMessage(Message fragmentreply)
          Set Fragment Message
 void setResource(IIOPInputStreamImpl oimpl, byte[] buffer)
           
 void setResource(IIOPOutputStreamImpl oimpl, byte[] buffer)
           
 
クラス jp.co.nec.orb.GIOP.Message から継承したメソッド
createCancelRequestMessage, createCancelRequestMessage, createCloseConnectionMessage, createCloseConnectionMessage, createExceptionReply, createLocateReplyMessage, createLocateRequestMessage, createMessage, createMessageErrorMessage, createMessageErrorMessage, createNopReply, createReply, createReplyMessage, createRequestMessage, dispatchReceiveMessage, getBuffer, getBufferExpandSize, getClientRequest, getException, getFragmentMode, getIIOPInputStream, getIIOPOutputStream, getLocateReplyAlign8, getLocateReplyStatus, getMessageTop, getMessageType, getObjectKey, getObjectKeyDecoded, getOperation, getPositionDifferenceForInputStream, getPositionDifferenceForOutputStream, getPropagationContext, getRaisedException, getReplyMessage, getReplyStatus, getRequestID, getResponseHandler, getSendingServiceContextList, getServerReplyMessage, getServiceContextList, getSocketConnection, getSocketWriteSize, getSSLInfo, getTarget, hasServerReplyMessage, isHookNop, isResponseExpected, new_trans_request_id, orb, orb, postinvoke, preinvoke, putMessage, putReply, putUnexpectedUserException, receiveCompleted, releaseEncapsulateResource, releaseResource, setBuffer, setBufferExpandSize, setClientRequest, setException, setExceptionToEnv, setFragmentMode, setIIOPOutputStream, setInvokationNoResponse, setLocateReplyAlign8, setRaisedException, setReplyMessage, setReplyStatus, setResponseExpected, setSendingServiceContextList, setServerRequest, setSocketWriteSize, setSSLInfo, transactionCall
 
クラス java.lang.Object から継承したメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

EncapsulateMessage

public EncapsulateMessage()
メソッドの詳細

getGIOPVersion

public final int getGIOPVersion()
GIOP Version accesser
オーバーライド:
クラス Message 内の getGIOPVersion

prepareExpandedBuffer

public final void prepareExpandedBuffer(int bufpos,
                                        int len,
                                        boolean expand)
Enlarge Buffer for writer
オーバーライド:
クラス Message 内の prepareExpandedBuffer
戻り値:
void

releaseResource

public final void releaseResource()
Reset Message. Release all resource.
オーバーライド:
クラス Message 内の releaseResource

movePositionForInputStream

public void movePositionForInputStream(BufferPosition bufpos,
                                       int move)
for SocketInputStream
オーバーライド:
クラス Message 内の movePositionForInputStream

movePositionForOutputStream

public void movePositionForOutputStream(BufferPosition bufpos,
                                        int move)
for SocketOutputStream
オーバーライド:
クラス Message 内の movePositionForOutputStream

setResource

public final void setResource(IIOPInputStreamImpl oimpl,
                              byte[] buffer)

setResource

public final void setResource(IIOPOutputStreamImpl oimpl,
                              byte[] buffer)

getBuffer

public byte[] getBuffer(int index)
オーバーライド:
クラス Message 内の getBuffer

createInputStream

public static final IIOPInputStreamImpl createInputStream(byte[] buffer)

createInputStream

public static final IIOPInputStreamImpl createInputStream(byte[] buffer,
                                                          ORB orb)

createInputStream

public static final IIOPInputStreamImpl createInputStream(byte[] buffer,
                                                          int cs_char,
                                                          int cs_wchar,
                                                          ORB orb)

createInputStream

public static final IIOPInputStreamImpl createInputStream(byte[] buffer,
                                                          int cs_char,
                                                          int cs_wchar)

createOutputStream

public static final IIOPOutputStreamImpl createOutputStream()

createOutputStream

public static final IIOPOutputStreamImpl createOutputStream(ORB orb)

createOutputStream

public static final IIOPOutputStreamImpl createOutputStream(int cs_char,
                                                            int cs_wchar)

createOutputStream

public static final IIOPOutputStreamImpl createOutputStream(int cs_char,
                                                            int cs_wchar,
                                                            ORB orb)

releaseInputStream

public static final void releaseInputStream(IIOPInputStreamImpl istream)

releaseOutputStream

public static final void releaseOutputStream(IIOPOutputStreamImpl ostream)

setDIICall

public final void setDIICall()
オーバーライド:
クラス Message 内の setDIICall

handleWritingException

public void handleWritingException(java.lang.Exception excp)
required from SocketConnection Return Exception
オーバーライド:
クラス Message 内の handleWritingException
戻り値:
java.lang.Exception

handleReadingException

public void handleReadingException(java.lang.Exception excp)
required from SocketConnection Return Exception
オーバーライド:
クラス Message 内の handleReadingException
戻り値:
java.lang.Exception

getPrincipal

public final Principal getPrincipal()
Principal accesser
オーバーライド:
クラス Message 内の getPrincipal

prepareNextBuffer

public final void prepareNextBuffer()
Enlarge Buffer for reader
オーバーライド:
クラス Message 内の prepareNextBuffer
戻り値:
void

setFragmentMessage

public final void setFragmentMessage(Message fragmentreply)
Set Fragment Message
オーバーライド:
クラス Message 内の setFragmentMessage
戻り値:
void

sendMessage

public final void sendMessage(int bufpos)
Send last Message. No follow Message.
オーバーライド:
クラス Message 内の sendMessage
戻り値:
void

isFollowedFragmentData

public boolean isFollowedFragmentData(byte[] message)
Returns the true if there are more FragemntMessage else false.
オーバーライド:
クラス Message 内の isFollowedFragmentData
戻り値:
boolean Follow FragmentMessage.