Interface NetworkingConfiguration

  • All Known Implementing Classes:
    NetworkingConfigurationImpl

    public interface NetworkingConfiguration
    Configuration interface for networking configuration settings.

    The network settings should be configured in exactly the same on the server and client.
    Since:
    7.5
    • Method Detail

      • singleThreadedClient

        void singleThreadedClient​(boolean flag)
        configures the client messaging system to be single threaded or multithreaded.

        Recommended settings:
        - true for low resource systems.
        - false for best asynchronous performance and fast GUI response.

        Default value:
        - .NET Compact Framework: true
        - all other platforms: false

        This setting can be used on both client and server.

        Parameters:
        flag - the desired setting
      • batchMessages

        void batchMessages​(boolean flag)
        Configures to batch messages between client and server. By default, batch mode is enabled.

        This setting can be used on both client and server.

        Parameters:
        flag - false, to turn message batching off.
      • maxBatchQueueSize

        void maxBatchQueueSize​(int maxSize)
        Configures the maximum memory buffer size for batched message. If the size of batched messages is greater than maxSize, batched messages will be sent to server.

        This setting can be used on both client and server.

        Parameters:
        maxSize -
      • messageRecipient

        void messageRecipient​(MessageRecipient messageRecipient)
        sets the MessageRecipient to receive Client Server messages.

        This setting can be used on both client and server.

        Parameters:
        messageRecipient - the MessageRecipient to be used
      • socketFactory

        void socketFactory​(Socket4Factory socket4Factory)
        Since:
        7.11