
Definition at line 40 of file Marshaller.java.
|
|
This method causes the message to lose all its references to the underlying chunks, and release each of them. It also released the context. Reimplemented in DavidOutputStream, PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by IIOPBinder::IIOPIdentifier::encode(), EBinder::EId::encode(), JRMITSHandler::encodeContext(), and TcpIpProtocol::send(). |
|
|
Returns a Context associated with this marshaller.
Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by ResponseHandlerImpl::createExceptionReply(), ResponseHandlerImpl::createReply(), GIOPProtocol::encodeReplyServices(), GIOPProtocol::encodeRequestServices(), and JStubFactory::ClientDelegate::invoke(). |
|
|
Returns the current offset in the message, i.e., the position in the message at which the next byte will be written.
Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by IORHelpers::forgeIOR(), GIOPProtocol::sendMessage(), ORBClass::CORBAMarshaller::writeTypeCodeRec(), and ORBClass::CORBAMarshaller::write_Object(). |
|
|
Returns the state of the message as a (chain of) chunk(s). The returned chunk(s) are NOT duplicated. If the caller keeps a reference to them, it must reset the message, and not continue to use it.
Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by MessageHelpers::copy(), IORHelpers::forgeIOR(), StdMarshallerFactory::StdMarshaller::sameContents(), PortableMarshallerFactory::PortableMarshaller::sameContents(), TcpIpProtocol::send(), GIOPProtocol::sendMessage(), and MessageHelpers::size(). |
|
|
Returns true if this marshaller is little-endian, false otherwise.
Reimplemented in PortableMarshallerFactory::PortableMarshallerL, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshallerL. Referenced by IIOPBinder::SrvIdentifier::SrvIdentifier(), IIOPBinder::IIOPIdentifier::encode(), EBinder::EId::encode(), IORHelpers::forgeIOR(), UnknownExceptionService::getReplyContext(), IIOPORB::initialize(), GIOPProtocol::ClientSession_High::prepare(), GIOPProtocol::ClientSession_High::prepareInvocation(), GIOPProtocol::prepareReplyMessage(), and GIOPProtocol::sendError(). |
|
|
Returns an output stream to write into the message. Closing the output stream has the same effect as closing the marshaller itself.
Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. |
|
|
This method causes the message to lose all its references to the underlying chunks, without releasing them. This method must not be used if no reference to chunks present in the message is held by an entity in charge of their release. It also releases the context associated with the target marshaller. Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by GIOPProtocol::sendMessage(). |
|
|
Checks if the target marshaller and the provided one have the same contents, i.e., they contain the same bits.
Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by AnyImpl::equal(). |
|
|
Sets the offset in the message. This method may be used to override data already written into the message.
Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by IORHelpers::forgeIOR(), GIOPProtocol::sendMessage(), and ORBClass::CORBAMarshaller::write_Object(). |
|
|
Writes a chunk in the message. The target becomes the "owner" of the provided chunk, and therefore is not supposed to duplicate it. If the entity invoking this operation wants to keep a reference to the chunk, it must be duplicated.
Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by GIOPProtocol::sendMessage(). |
|
|
Writes a boolean.
Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by IIOPBinder::SrvIdentifier::SrvIdentifier(), IIOPBinder::IIOPIdentifier::encode(), EBinder::EId::encode(), IORHelpers::forgeIOR(), ServerDelegate::handleCorbaMethods(), IIOPORB::initialize(), GIOPProtocol::ClientSession_High::prepare(), GIOPProtocol::ClientSession_High::prepareInvocation(), GIOPProtocol::prepareReplyMessage(), and GIOPProtocol::sendError(). |
|
|
Writes a byte.
Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by GIOPProtocol::ClientSession_High::prepare(), GIOPProtocol::ClientSession_High::prepareInvocation(), GIOPProtocol::prepareReplyMessage(), and GIOPProtocol::sendError(). |
|
|
Writes an array of bytes.
Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by IIOPBinder::IIOPIdentifier::encode(), GIOPProtocol::encodeServices(), IORHelpers::forgeIOR(), GIOPProtocol::ClientSession_High::prepare(), GIOPProtocol::ClientSession_High::prepareInvocation(), GIOPProtocol::prepareReplyMessage(), and GIOPProtocol::sendError(). |
|
|
Writes a 16 bits char.
Reimplemented in PortableMarshallerFactory::PortableMarshallerL, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshallerL. |
|
|
Writes an 8 bits char.
The method used to translate the provided
Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by IIOPBinder::IIOPIdentifier::encode(), and IORHelpers::forgeIOR(). |
|
|
Writes a double.
Reimplemented in PortableMarshallerFactory::PortableMarshallerL, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshallerL. |
|
|
Writes a float.
Reimplemented in PortableMarshallerFactory::PortableMarshallerL, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshallerL. |
|
|
Writes an int.
Reimplemented in PortableMarshallerFactory::PortableMarshallerL, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshallerL. Referenced by RegistryImpl_Stub::bind(), IIOPBinder::IIOPIdentifier::encode(), EBinder::EId::encode(), GIOPProtocol::encodeServices(), IORHelpers::forgeIOR(), JRMIReferenceImpl_Stub::getReference(), RegistryImpl_Stub::list(), RegistryImpl_Stub::lookup(), GIOPProtocol::ClientSession_High::prepare(), GIOPProtocol::ClientSession_High::prepareInvocation(), GIOPProtocol::prepareReplyMessage(), RegistryImpl_Stub::rebind(), JStubFactory::ClientDelegate::request(), GIOPProtocol::sendError(), GIOPProtocol::sendMessage(), GIOPProtocol::ServerSession_Low::sendSystemException(), RegistryImpl_Stub::unbind(), ORBClass::CORBAMarshaller::writeEncapsulatedTypeCodeRec(), ORBClass::CORBAMarshaller::writeTypeCodeRec(), and ORBClass::CORBAMarshaller::write_Object(). |
|
|
Writes a long.
Reimplemented in PortableMarshallerFactory::PortableMarshallerL, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshallerL. |
|
|
Writes an object reference in the marshaller.
Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by GIOPProtocol::ServerSession_Low::send(). |
|
|
Writes a short.
Reimplemented in PortableMarshallerFactory::PortableMarshallerL, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshallerL. Referenced by IIOPBinder::IIOPIdentifier::encode(), IORHelpers::forgeIOR(), and ORBClass::CORBAMarshaller::writeEncapsulatedTypeCodeRec(). |
|
|
Writes a string of 16 bits chars.
Reimplemented in PortableMarshallerFactory::PortableMarshallerL, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshallerL. |
|
|
Writes a string of 8 bits chars.
Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by IIOPBinder::SrvIdentifier::SrvIdentifier(), IIOPBinder::IIOPIdentifier::encode(), EBinder::EId::encode(), IORHelpers::forgeIOR(), IIOPORB::initialize(), JStubFactory::ClientDelegate::request(), GIOPProtocol::ServerSession_Low::sendSystemException(), ORBClass::CORBAMarshaller::writeEncapsulatedTypeCodeRec(), and ORBClass::CORBAMarshaller::write_Object(). |
|
|
Writes a value in the marshaller.
Reimplemented in PortableMarshallerFactory::PortableMarshaller, ObjectStreamMarshaller, and StdMarshallerFactory::StdMarshaller. Referenced by RegistryImpl_Stub::bind(), JRMITSHandler::encodeContext(), RegistryImpl_Stub::lookup(), RegistryImpl_Stub::rebind(), RegistryImpl_Skel::send(), JRMIReferenceImpl_Skel::send(), and RegistryImpl_Stub::unbind(). |
1.2.6 written by Dimitri van Heesch,
© 1997-2001