Class SpiceEvent

All Implemented Interfaces:
Future<Void>, Associator, Eligible
Direct Known Subclasses:
SpiceConnectedEvent, SpiceDisconnectedEvent, SpiceInitializedEvent

public class SpiceEvent extends MonitorEvent
Signals a connection from a client.
  • Constructor Details

    • SpiceEvent

      public SpiceEvent(MonitorEvent.Kind kind, com.fasterxml.jackson.databind.JsonNode data)
      Instantiates a new tray moved.
      Parameters:
      kind - the kind
      data - the data
  • Method Details

    • clientHost

      public String clientHost()
      Returns the client’s host.
      Returns:
      the client’s host address
    • clientPort

      public long clientPort()
      Returns the client’s port.
      Returns:
      the client’s port number