Sensix
Wireless Sensor Network Middleware



   Home


   Project Page


   Download


   CVS




 Hosted by
Get SENSIX at SourceForge.net. Fast, secure 
and Free Open Source software downloads

com::sun::corba::se::impl::encoding::EncapsInputStream Class Reference

Inherits CDRInputStream.

List of all members.

Public Member Functions

 EncapsInputStream (org.omg.CORBA.ORB orb, byte[] buf, int size, boolean littleEndian, GIOPVersion version)
 EncapsInputStream (org.omg.CORBA.ORB orb, ByteBuffer byteBuffer, int size, boolean littleEndian, GIOPVersion version)
 EncapsInputStream (org.omg.CORBA.ORB orb, byte[] data, int size)
 EncapsInputStream (EncapsInputStream eis)
 EncapsInputStream (org.omg.CORBA.ORB orb, byte[] data, int size, GIOPVersion version)
 EncapsInputStream (org.omg.CORBA.ORB orb, byte[] data, int size, GIOPVersion version, CodeBase codeBase)
CDRInputStream dup ()
CodeBase getCodeBase ()

Static Public Attributes

static final boolean MESSAGE_DUMP = false
static final boolean DUMP_TO_FILE = false

Protected Member Functions

CodeSetConversion.BTCConverter createCharBTCConverter ()
CodeSetConversion.BTCConverter createWCharBTCConverter ()


Detailed Description

Encapsulations are supposed to explicitly define their code sets and GIOP version. The original resolution to issue 2784 said that the defaults were UTF-8 and UTF-16, but that was not agreed upon.

These streams currently use CDR 1.2 with ISO8859-1 for char/string and UTF16 for wchar/wstring. If no byte order marker is available, the endianness of the encapsulation is used.

When more encapsulations arise that have their own special code sets defined, we can make all constructors take such parameters.

Definition at line 43 of file EncapsInputStream.java.


Constructor & Destructor Documentation

com::sun::corba::se::impl::encoding::EncapsInputStream::EncapsInputStream ( org.omg.CORBA.ORB  orb,
byte[]  buf,
int  size,
boolean  littleEndian,
GIOPVersion  version 
)

Definition at line 79 of file EncapsInputStream.java.

com::sun::corba::se::impl::encoding::EncapsInputStream::EncapsInputStream ( org.omg.CORBA.ORB  orb,
ByteBuffer  byteBuffer,
int  size,
boolean  littleEndian,
GIOPVersion  version 
)

Definition at line 94 of file EncapsInputStream.java.

com::sun::corba::se::impl::encoding::EncapsInputStream::EncapsInputStream ( org.omg.CORBA.ORB  orb,
byte[]  data,
int  size 
)

Definition at line 111 of file EncapsInputStream.java.

com::sun::corba::se::impl::encoding::EncapsInputStream::EncapsInputStream ( EncapsInputStream  eis  ) 

Definition at line 117 of file EncapsInputStream.java.

com::sun::corba::se::impl::encoding::EncapsInputStream::EncapsInputStream ( org.omg.CORBA.ORB  orb,
byte[]  data,
int  size,
GIOPVersion  version 
)

Definition at line 133 of file EncapsInputStream.java.

com::sun::corba::se::impl::encoding::EncapsInputStream::EncapsInputStream ( org.omg.CORBA.ORB  orb,
byte[]  data,
int  size,
GIOPVersion  version,
CodeBase  codeBase 
)

Full constructor with a CodeBase parameter useful for unmarshaling RMI-IIOP valuetypes (technically against the intention of an encapsulation, but necessary due to OMG issue 4795. Used by ServiceContexts.

Definition at line 144 of file EncapsInputStream.java.


Member Function Documentation

CDRInputStream com::sun::corba::se::impl::encoding::EncapsInputStream::dup (  ) 

Definition at line 164 of file EncapsInputStream.java.

CodeSetConversion.BTCConverter com::sun::corba::se::impl::encoding::EncapsInputStream::createCharBTCConverter (  )  [protected]

Definition at line 168 of file EncapsInputStream.java.

CodeSetConversion.BTCConverter com::sun::corba::se::impl::encoding::EncapsInputStream::createWCharBTCConverter (  )  [protected]

Definition at line 172 of file EncapsInputStream.java.

CodeBase com::sun::corba::se::impl::encoding::EncapsInputStream::getCodeBase (  ) 

Definition at line 194 of file EncapsInputStream.java.


Member Data Documentation

Definition at line 47 of file EncapsInputStream.java.

Definition at line 48 of file EncapsInputStream.java.


The documentation for this class was generated from the following file:


© 2008, Los Alamos National Security, LLC.