Class CloseEvent


  • public class CloseEvent
    extends java.lang.Object
    Represents a KickEvent which is passed to a IKickEventListener
    • Constructor Summary

      Constructors 
      Constructor Description
      CloseEvent​(int eventCode, java.lang.String reason)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCode()
      return code of the close (websocket)
      java.lang.String getReason()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CloseEvent

        public CloseEvent​(int eventCode,
                          java.lang.String reason)
    • Method Detail

      • getCode

        public int getCode()
        return code of the close (websocket)
        Returns:
      • getReason

        public java.lang.String getReason()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object