Discuss this help topic in MsgConnect Forum

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



BaseTransport.Active

BaseTransport     See also    


Defines if the transport is active and can be used for message delivery.

Declaration

[C++]
    void setActive(bool value);
    bool getActive();

[Pascal]
    property Active : boolean;

[VB6]
    Property Active As Boolean

[ActiveX]
    HRESULT _stdcall Active([in] VARIANT_BOOL Value );
    HRESULT _stdcall Active([out, retval] VARIANT_BOOL * Value );

[C#]
    public bool Active;

[VB.NET]
    Public Property Active As Boolean

[Java]
    public void setActive(boolean active);
    public boolean getActive();

[Java ME]
    public void setActive(boolean active);
    public boolean getActive();

[DLL]
    void __stdcall MCBaseTransportSetActive(HMCBaseTransport h, bool value);
    bool __stdcall MCBaseTransportGetActive(HMCBaseTransport h);

Parameters

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

Description

    Use this property to enable and disable the transport. Disabled transports are not used to deliver messages and if the message was to be delivered using disabled transport, delivery fails. Be sure to set Messenger property before activating the transport.

See also:     Addressing     Messenger class    

Discuss this help topic in MsgConnect Forum