Interface ServerTransport

    • Method Detail

      • getAdvice

        @Deprecated
        java.lang.Object getAdvice()
        Deprecated.

        The advice that this transport sends to inform the client about transport (re)connection.

        Returns:
        the advice object sent by the server transport
      • getTimeout

        long getTimeout()
        Returns:
        the timeout (in milliseconds) of this transport
      • getInterval

        long getInterval()
        Returns:
        the interval of time (in milliseconds) of this transport
      • getMaxInterval

        long getMaxInterval()
        Returns:
        the maximum interval of time (in milliseconds) before the server consider the client lost
      • getMaxLazyTimeout

        long getMaxLazyTimeout()
        Returns:
        the maximum time (in milliseconds) before dispatching lazy messages
      • isMetaConnectDeliveryOnly

        boolean isMetaConnectDeliveryOnly()
        Returns:
        whether the messages are delivered to clients exclusively via the "/meta/connect" channel
      • getContext

        BayeuxContext getContext()
        Returns:
        The current transport context or null if no current context