
Public Methods | |
| byte | readByte () throws JonathanException |
| boolean | readBoolean () throws JonathanException |
| char | readChar8 () throws JonathanException |
| char | readChar16 () throws JonathanException |
| short | readShort () throws JonathanException |
| int | readInt () throws JonathanException |
| long | readLong () throws JonathanException |
| float | readFloat () throws JonathanException |
| double | readDouble () throws JonathanException |
| String | readString8 () throws JonathanException |
| String | readString16 () throws JonathanException |
| Object | readReference () throws JonathanException |
| Object | readValue () throws JonathanException |
| void | readByteArray (byte[] array, int offset, int len) throws JonathanException |
| InputStream | inputStream () |
| boolean | isLittleEndian () |
| void | setByteOrder (boolean little_endian) |
| int | bytesRead () |
| void | setSize (int size) throws JonathanException |
| void | close () |
| Context | getContext () |
Definition at line 39 of file UnMarshaller.java.
|
|
Returns the number of bytes read since the beginning.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. Referenced by ORBClass::CORBAUnMarshaller::readEncapsulatedTypeCodeRec(), ORBClass::CORBAUnMarshaller::readTypeCodeRec(), and ORBClass::CORBAUnMarshaller::read_TypeCode(). |
|
|
|
Returns a Context associated with this unmarshaller.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. Referenced by JStubFactory::ClientDelegate::getResponse(), ServerDelegate::handleSkeletonCall(), GIOPProtocol::ReplyHolder::listen(), GIOPProtocol::ServerSession_Low::send(), and GIOPProtocol::ClientSession_Low::send(). |
|
|
Returns an input stream to read data from the unmarshaller. Closing the returned input stream has the same effect as closing the actual unmarshaller.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. |
|
|
Returns true if this unmarshaller is little-endian, false otherwise.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. |
|
|
Reads a boolean.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. Referenced by IIOPBinder::CltIdentifier::CltIdentifier(), EBinder::EId::EId(), UnknownExceptionService::handleReplyContext(), IIOPBinder::CltIdentifier::init(), and GIOPProtocol::ServerSession_Low::send(). |
|
|
Reads a byte.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. Referenced by GIOPProtocol::ServerSession_Low::send(), and GIOPProtocol::ClientSession_Low::send(). |
|
|
Reads an array of bytes.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. Referenced by IIOPBinder::CltIdentifier::init(), and GIOPProtocol::ServerSession_Low::send(). |
|
|
Reads a 16 bits char.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. |
|
|
Reads a 8 bits char.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. Referenced by IIOPBinder::CltIdentifier::init(). |
|
|
Reads a double.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. |
|
|
Reads a float.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. |
|
|
Reads an int.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. Referenced by IIOPBinder::CltIdentifier::init(), EBinder::EId::init(), GIOPProtocol::ReplyHolder::listen(), ORBClass::CORBAUnMarshaller::readEncapsulatedTypeCodeRec(), ORBClass::CORBAUnMarshaller::readTypeCodeRec(), ORBClass::CORBAUnMarshaller::read_Object(), ServerDelegate::send(), RegistryImpl_Skel::send(), JRMIReferenceImpl_Skel::send(), GIOPProtocol::ServerSession_Low::send(), GIOPProtocol::ClientSession_Low::send(), and EventChannelFactory::ConsumerDelegate::send(). |
|
|
Reads a long.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. |
|
|
Reads a reference to an object.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. Referenced by GIOPProtocol::ReplyHolder::listen(). |
|
|
Reads a short.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. Referenced by IIOPBinder::CltIdentifier::init(), and ORBClass::CORBAUnMarshaller::readEncapsulatedTypeCodeRec(). |
|
|
Reads a string composed of 16 bits chars.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. |
|
|
Reads a string composed of 8 bits chars.
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. Referenced by IIOPBinder::CltIdentifier::init(), EBinder::EId::init(), GIOPProtocol::ReplyHolder::listen(), ORBClass::CORBAUnMarshaller::readEncapsulatedTypeCodeRec(), ORBClass::CORBAUnMarshaller::read_Object(), ServerDelegate::send(), and EventChannelFactory::ConsumerDelegate::send(). |
|
|
Reads a value
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. Referenced by RegistryImpl_Stub::bind(), JRMITSHandler::decodeContext(), JRMIReferenceImpl_Stub::getReference(), RegistryImpl_Stub::list(), RegistryImpl_Stub::lookup(), RegistryImpl_Stub::rebind(), RegistryImpl_Skel::send(), and RegistryImpl_Stub::unbind(). |
|
|
Sets the byte order (returned by isLittleEndian) of the target unmarshaller
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. Referenced by IIOPBinder::CltIdentifier::CltIdentifier(), EBinder::EId::EId(), UnknownExceptionService::handleReplyContext(), IIOPBinder::CltIdentifier::init(), GIOPProtocol::ServerSession_Low::send(), GIOPProtocol::ClientSession_Low::send(), and ORBClass::string_to_object(). |
|
|
Sets the number of bytes readable from the unmarshaller.
Once this method has been called, it won't be possible to read more than the
Reimplemented in PortableMarshallerFactory::PortableUnMarshaller, ObjectStreamUnMarshaller, and StdMarshallerFactory::StdUnMarshaller. Referenced by GIOPProtocol::ServerSession_Low::send(), and GIOPProtocol::ClientSession_Low::send(). |
1.2.6 written by Dimitri van Heesch,
© 1997-2001