com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class PipeliningStatus



  • public class PipeliningStatus
    extends Object

    Defines pipelining status for mail client.

    • Method Detail

      • getSupportedByServer

        public final boolean getSupportedByServer()

        Gets value that indicates if pipelining mode is supported by a server.

      • getClientMode

        public final int getClientMode()

        Gets or sets a value that defines how mail client supports the pipelining

      • setClientMode

        public final void setClientMode(int value)

        Gets or sets a value that defines how mail client supports the pipelining

      • getPipeliningEnabled

        public final boolean getPipeliningEnabled()

        Gets a value that defines if pipelining mode is enabled.

      • to_PipeliningStatus

        public static PipeliningStatus to_PipeliningStatus(boolean mode)

        Converts boolean value to PipeliningStatus object

        Parameters:
        mode - true if pipelining has to be used, otherwise false
        Returns:
        Returns PipeliningStatus object
      • to_Boolean

        public static boolean to_Boolean(PipeliningStatus status)

        Converts PipeliningStatus object to boolean value

        Parameters:
        status - PipeliningStatus object for conversion
        Returns:
        Returns true if pipelining is used, otherwise returns false.
      • to_Boolean

        public boolean to_Boolean()

        Converts PipeliningStatus object to boolean value

        Returns:
        Returns true if pipelining is used, otherwise returns false.
      • to_PipeliningMode

        public static int to_PipeliningMode(PipeliningStatus status)

        Converts PipeliningStatus object

        Parameters:
        status - A PipeliningStatus value
        Returns:
        A PipeliningMode value
      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class Object
        Returns:
        A string that represents the current object.

Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.