Class GatewayReceiver

    • Field Detail

      • GATEWAY_RECEIVERS_ENDPOINTS

        public static final java.lang.String GATEWAY_RECEIVERS_ENDPOINTS
        the url end points to retrieve the gateway receivers
        See Also:
        Constant Field Values
    • Constructor Detail

      • GatewayReceiver

        public GatewayReceiver()
    • Method Detail

      • getGatewayTransportFilters

        public java.util.List<ClassName> getGatewayTransportFilters()
        get the list of transport filters if you modify the returned list, you will be modifying the list owned by this config object.
        Returns:
        a list of transport filters
      • setGatewayTransportFilters

        public void setGatewayTransportFilters​(java.util.List<ClassName> gatewayTransportFilters)
        set the gateway transport filters
        Parameters:
        gatewayTransportFilters - a list of gateway transport filters
      • getStartPort

        public java.lang.Integer getStartPort()
        get the starting port
        Returns:
        the starting port
      • setStartPort

        public void setStartPort​(java.lang.Integer startPort)
        set the starting port
        Parameters:
        startPort - the starting port
      • getEndPort

        public java.lang.Integer getEndPort()
        get the end port
        Returns:
        the end port
      • setEndPort

        public void setEndPort​(java.lang.Integer endPort)
        set the end port
        Parameters:
        endPort - the end port
      • getMaximumTimeBetweenPings

        public java.lang.Integer getMaximumTimeBetweenPings()
        get the maximum time between pings in milliseconds, the default is CacheServer.DEFAULT_MAXIMUM_TIME_BETWEEN_PINGS = 60000
        Returns:
        the maximum time between pings in milliseconds
      • setMaximumTimeBetweenPings

        public void setMaximumTimeBetweenPings​(java.lang.Integer maximumTimeBetweenPings)
        set the maximum time between pings in milliseconds
        Parameters:
        maximumTimeBetweenPings - the maximum time between pings in milliseconds
      • getSocketBufferSize

        public java.lang.Integer getSocketBufferSize()
        get the socket buffer size for socket buffers from the receiver to the sender. CacheServer.DEFAULT_SOCKET_BUFFER_SIZE = 32768;
        Returns:
        the socket buffer size for socket buffers from the receiver to the sender
      • setSocketBufferSize

        public void setSocketBufferSize​(java.lang.Integer socketBufferSize)
        set the socket buffer size for socket buffers from the receiver to the sender.
        Parameters:
        socketBufferSize - the socket buffer size for socket buffers from the receiver to the sender
      • isManualStart

        public java.lang.Boolean isManualStart()
        is this gateway receiver manually started
        Returns:
        true if this gateway receiver is manually started
      • setManualStart

        public void setManualStart​(java.lang.Boolean manualStart)
        set the manualStart
        Parameters:
        manualStart - whether this gateway receiver is manually started