Discuss this help topic in MsgConnect Forum

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



BaseTransport.MaxTimeout

BaseTransport    


Defines how long to wait for some signal from the remote side during message transfer.

Declaration

[C++]
    void setMaxTimeout(unsigned long v);
    unsigned long getMaxTimeout();

[Pascal]
    property MaxTimeout : LongWord;

[VB6]
    Property MaxTimeOut As Long

[ActiveX]
    HRESULT _stdcall MaxTimeOut([in] unsigned long Value );
    HRESULT _stdcall MaxTimeOut([out, retval] unsigned long * Value );

[C#]
    public int MaxTimeout;

[VB.NET]
    Public Property MaxTimeout As Integer

[Java]
    public void setMaxTimeout(long timeout);
    public long getMaxTimeout();

[Java ME]
    public void setMaxTimeout(long timeout);
    public long getMaxTimeout();

[DLL]
    void __stdcall MCBaseTransportSetMaxTimeout(HMCBaseTransport h, unsigned long value);
    unsigned long __stdcall MCBaseTransportGetMaxTimeout(HMCBaseTransport h);

Parameters

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

Description

    This property defines the longest possible time between the data block is received from the remote side and connection is broken. Longer timeouts increase stability of the system, but in case of flooding the messenger short timeouts can help to reduce the load.     This property has no meaning for some transports (local transport, for example).

Discuss this help topic in MsgConnect Forum