SmartSockets .NET Class Library

TipcMsg.updateNamedObject Method 

Updates a named arbitrary .NET Object in the message. The object will be encoded in a binary field, using the standard serialization mechanism. Therefore, the object passed to this method must implement the Serializable interface. Note that any objects to be serialized must not only themselves implemented Serializable, but all of the classes they extend must be Serializable.

This object will only be useful to receiving clients in .NET C clients will receive a binary field which may be forwarded to other .NET clients.

public virtual void updateNamedObject(
   string name,
   object obj
);

Parameters

name
the name to use
obj
the object to be appended

Exceptions

Exception TypeCondition
TipcIOException If the object serialization fails
TipcMsgException If there is no field by that name
TipcException For all other errors

See Also

TipcMsg Class | TipcMsg Members | TIBCO.SMARTSOCKETS Namespace | appendObject | addNamedObject


Copyright © TIBCO Software Inc. All rights reserved