|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.objectweb.david.libs.presentation.portable.PortableMarshallerFactory
|
+--org.objectweb.david.libs.presentation.portable.CDRMarshallerFactory
CORBA CDR extension of PortableMarshallerFactory.
| Inner classes inherited from class org.objectweb.david.libs.presentation.portable.PortableMarshallerFactory |
PortableMarshallerFactory.PortableMarshaller, PortableMarshallerFactory.PortableMarshallerL, PortableMarshallerFactory.PortableUnMarshaller, PortableMarshallerFactory.PortableUnMarshallerD |
| Fields inherited from class org.objectweb.david.libs.presentation.portable.PortableMarshallerFactory |
chunk_factory, CHUNKS, CODEBASE, context_factory, corba_marshaller, corba_unmarshaller, INDIRECTION_TAG, MULTIPLE_TYPES, NULL_TAG, SINGLE_TYPE, VALUE_TAG |
| Constructor Summary | |
CDRMarshallerFactory(ChunkFactory chunk_factory)
Creates a new marshaller factory. |
|
CDRMarshallerFactory(ChunkFactory chunk_factory,
ContextFactory context_factory)
Creates a new marshaller factory. |
|
CDRMarshallerFactory(ChunkFactory chunk_factory,
ContextFactory context_factory,
DavidMarshallerFactory mf)
Creates a new marshaller factory. |
|
CDRMarshallerFactory(ChunkFactory chunk_factory,
ContextFactory context_factory,
DavidMarshallerFactory mf,
ORB orb)
Creates a new CDRMarshallerFactory |
|
CDRMarshallerFactory(ChunkFactory chunk_factory,
DavidMarshallerFactory mf)
Creates a new marshaller factory. |
|
| Method Summary | |
DavidInputStream |
newInputStream(Chunk chunk,
int read)
Creates a new input stream, reading data from the specified chunk provider. |
DavidInputStream |
newInputStream(ChunkProvider message)
Creates a new input stream, reading data from the provided chunk. |
Marshaller |
newMarshaller()
Returns a new (little endian) marshaller. |
DavidOutputStream |
newOutputStream()
Returns a (little endian) marshaller. |
UnMarshaller |
newUnMarshaller(Chunk chunk,
int read)
Returns a new unmarshaller, using the provided chunk(s) as a data source. |
UnMarshaller |
newUnMarshaller(ChunkProvider message)
Returns a new unmarshaller, using the provided chunk provider as a data source. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CDRMarshallerFactory(ChunkFactory chunk_factory,
ContextFactory context_factory,
DavidMarshallerFactory mf,
ORB orb)
chunk_factory - the chunk factory to be used by the new marshaller
factory.context_factory - a context factorymf - a David marshaller factory, only used to initialize
corba_marshaller and
corba_unmarshaller.orb - an ORB instance.
public CDRMarshallerFactory(ChunkFactory chunk_factory,
ContextFactory context_factory,
DavidMarshallerFactory mf)
chunk_factory - the chunk factory to be used by the new marshaller
factory.context_factory - a context factorymf - a David marshaller factory, only used to initialize
corba_marshaller and
corba_unmarshaller.
public CDRMarshallerFactory(ChunkFactory chunk_factory,
ContextFactory context_factory)
If this constructor is used,corba_marshaller and
corba_unmarshaller are left null.
chunk_factory - the chunk factory to be used by the new marshaller
factory.context_factory - a context factory
public CDRMarshallerFactory(ChunkFactory chunk_factory,
DavidMarshallerFactory mf)
chunk_factory - the chunk factory to be used by the new marshaller
factory.mf - a David marshaller factory, only used to initialize
corba_marshaller
and
corba_unmarshaller.public CDRMarshallerFactory(ChunkFactory chunk_factory)
If this constructor is used,corba_marshaller and
corba_unmarshaller are
left null.
chunk_factory - the chunk factory to be used by the new marshaller
factory.| Method Detail |
public Marshaller newMarshaller()
PortableMarshallerFactorynewMarshaller in class PortableMarshallerFactoryorg.objectweb.david.libs.presentation.portable.PortableMarshallerFactorypublic DavidOutputStream newOutputStream()
PortableMarshallerFactorynewOutputStream in class PortableMarshallerFactoryorg.objectweb.david.libs.presentation.portable.PortableMarshallerFactory
public UnMarshaller newUnMarshaller(Chunk chunk,
int read)
PortableMarshallerFactory
The read parameters is used to initialise the number of bytes
read from the message.
newUnMarshaller in class PortableMarshallerFactoryorg.objectweb.david.libs.presentation.portable.PortableMarshallerFactorychunk - a (chain of) chunk(s)read - the number of bytes already read from the message.
public DavidInputStream newInputStream(Chunk chunk,
int read)
PortableMarshallerFactorynewInputStream in class PortableMarshallerFactoryorg.objectweb.david.libs.presentation.portable.PortableMarshallerFactorymessage - a chunk provider.public UnMarshaller newUnMarshaller(ChunkProvider message)
PortableMarshallerFactorynewUnMarshaller in class PortableMarshallerFactoryorg.objectweb.david.libs.presentation.portable.PortableMarshallerFactoryprovider - a chunk provider.public DavidInputStream newInputStream(ChunkProvider message)
PortableMarshallerFactory
The read parameters indicates the number of bytes read since
the beginning of the message.
newInputStream in class PortableMarshallerFactoryorg.objectweb.david.libs.presentation.portable.PortableMarshallerFactory
chunk - a chunk;read - the number of bytes already read from the message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||