Class NotificationEvent

  • All Implemented Interfaces:
    WebSocketEvent, pro.gravit.utils.TypeSerializeInterface

    public class NotificationEvent
    extends java.lang.Object
    implements WebSocketEvent
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String head  
      java.lang.String message  
    • Constructor Summary

      Constructors 
      Constructor Description
      NotificationEvent​(java.lang.String head, java.lang.String message)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • head

        public final java.lang.String head
      • message

        public final java.lang.String message
    • Constructor Detail

      • NotificationEvent

        public NotificationEvent​(java.lang.String head,
                                 java.lang.String message)
    • Method Detail

      • getType

        public java.lang.String getType()
        Specified by:
        getType in interface pro.gravit.utils.TypeSerializeInterface
        Specified by:
        getType in interface WebSocketEvent