All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pusher.client.connection.ConnectionStateChange.html Maven / Gradle / Ivy






ConnectionStateChange (Pusher Java Websocket API)












com.pusher.client.connection

Class ConnectionStateChange

  • java.lang.Object
    • com.pusher.client.connection.ConnectionStateChange
    • Constructor Detail

      • ConnectionStateChange

        public ConnectionStateChange(ConnectionState previousState,
                                     ConnectionState currentState)
        Used within the library to create a connection state change. Not be used used as part of the API.
        Parameters:
        previousState - The previous connection state
        currentState - The current connection state
    • Method Detail

      • getPreviousState

        public ConnectionState getPreviousState()
        The previous connections state. The state the connection has transitioned from.
        Returns:
        The previous connection state
      • getCurrentState

        public ConnectionState getCurrentState()
        The current connection state. The state the connection has transitioned to.
        Returns:
        The current connection state
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object




© 2015 - 2025 Weber Informatics LLC | Privacy Policy