Discuss this help topic in MsgConnect Forum

Filter: C++  Pascal  C#  VB.NET  Java  Java ME  ActiveX  DLL 



BaseTransport.Messenger

BaseTransport     See also    


Contains a reference to the Messenger object.

Declaration

[C++]
    void setMessenger(MCMessenger* Value);
    MCMessenger* getMessenger();

[Pascal]
    property Messenger : TMCMessenger;

[VB6]
    Property Messenger As MCXMessenger

[ActiveX]
    HRESULT _stdcall Messenger([in] IMCXMessenger * Value );
    HRESULT _stdcall Messenger([out, retval] IMCXMessenger ** Value );

[C#]
    public MCMessenger Messenger;

[VB.NET]
    Public Property Messenger As MCMessenger

[Java]
    public void setMessenger(MCMessenger messenger);
    public MCMessenger getMessenger();

[Java ME]
    public void setMessenger(MCMessenger messenger);
    public MCMessenger getMessenger();

[DLL]
    void __stdcall MCBaseTransportSetMessenger (HMCBaseTransport h, HMCMessenger value);
    HMCMessenger __stdcall MCBaseTransportGetMessenger(HMCBaseTransport h);

Parameters

  • h - handle to the object that was returned by Create method

Description

    This property contains a reference to the Messenger object, which sends and receives messages via the transport. The transport automatically adds and removes itself to and from messenger's transport list. The messenger finds which transport to send the message with using Addressing rules.

See also:     Addressing     Messenger class    

Discuss this help topic in MsgConnect Forum