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


InetTransport     See also    

Specifies the maximum size of the message which is received to memory buffer.


    void setIncomingMemoryThreshold(unsigned long Value);
    unsigned long getIncomingMemoryThreshold(void);

    property IncomingMemoryThreshold : longint;

    Property IncomingMemoryThreshold As Long

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

    public int IncomingMemoryThreshold;

    Public Property IncomingMemoryThreshold As Integer

    public void setIncomingMemoryThreshold(long value);
    public long getIncomingMemoryThreshold();

[Java ME]
    public void setIncomingMemoryThreshold(long value);
    public long getIncomingMemoryThreshold();

    void __stdcall IPCInetTransportSetIncomingMemoryThreshold(HIPCInetTransport h, unsigned long value);
    unsigned long __stdcall IPCInetTransportGetIncomingMemoryThreshold(HIPCInetTransport h);


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


    This property specifies how large messages are received into temporary files on disk instead of memory. If the message is smaller then the value of this property, memory buffer is created to increase transfer speed. If the message is larger, temporary file is allocated. This rule is only effective, when UseTempFilesForIncoming property is set to true.
    To avoid memory overflow on loaded servers it makes sence to receive large messages to files. Also, receiving the messages to files allows CBFS IPC to reduce the consequences of attacks that send large amounts of data to overflow the server's memory and stop operations.