Discuss this help topic in MsgConnect Forum

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



BaseTransport.MaxMsgSize

BaseTransport    


Defines the largest message which can be handled by the transport.

Declaration

[C++]
    void setMaxMsgSize(long v);
    long getMaxMsgSize();

[Pascal]
    property MaxMsgSize : integer;

[VB6]
    Property MaxMsgSize As Long

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

[C#]
    public int MaxMsgSize;

[VB.NET]
    Public Property MaxMsgSize As Integer

[Java]
    public void setMaxMsgSize(int size);
    public int getMaxMsgSize();

[Java ME]
    public void setMaxMsgSize(int size);
    public int getMaxMsgSize();

[DLL]
    void __stdcall MCBaseTransportSetMaxMsgSize(HMCBaseTransport h, long value);
    long __stdcall MCBaseTransportGetMaxMsgSize(HMCBaseTransport h);

Parameters

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

Description

    This property defines how large the message can be. If the message is larger, it will be discarded without notification to the sender. This property is used to prevent flooding messenger with junk packages of large size.

Discuss this help topic in MsgConnect Forum