SmartSockets .NET Class Library

TipcSvc.createMsg Method

Creates a new SmartSockets message of the specified message type number.

Example:

            // create a message of the standard message type INFO
            TipcMsg msg = TipcSvc.createMsg(TipcMt_Fields.INFO);
            

Overload List

Creates a new SmartSockets message of the specified message type. Example:

            // look up the message type number 500
            TipcMt mt = TipcSvc.lookupMt(500);
            
            // create a message of this type
            TipcMsg msg = TipcSvc.createMsg(mt);
            

public static TipcMsg createMsg(TipcMt);

Creates a new SmartSockets message of the specified message type number. Example:

            // create a message of the standard message type INFO
            TipcMsg msg = TipcSvc.createMsg(TipcMt_Fields.INFO);
            

public static TipcMsg createMsg(int);

Creates a new SmartSockets message by deserializing the contents of a byte array.

public static TipcMsg createMsg(sbyte[],int);

Creates a new message by deserializing the contents of a byte array.

public static TipcMsg createMsg(sbyte[],int,int,int,int);

See Also

TipcSvc Class | TipcSvc Members | TIBCO.SMARTSOCKETS Namespace | TipcMt | TipcMsg


Copyright © TIBCO Software Inc. All rights reserved