Class Event

java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.Event
All Implemented Interfaces:
Serializable

public class Event extends ValueClass
This class represents an event used by the event bus API functions.
See Also:
  • Field Details

    • busId

      protected long busId
      Bus-ID
    • type

      protected long type
      Event type. Event filters check this value. This must be one of the predefined event types or an application defined type with a larger value than EventBusC.EVENT_TYPE_MAX_SYSTEM.
      See Also:
    • param1

      protected long param1
      Value depends on event type. Event filters check this value.
      See Also:
    • param2

      protected String param2
      Value depends on event type. Event filters check this value.
      See Also:
    • id

      protected long id
      Event ID. If the sender awaits a response to this event, it should set a random number in id. The receiver should use the same number in the response.
    • senderId

      protected long senderId
      User ID of event sender. Might be used for other IDs in future too. Read-only.
    • data

      protected byte[] data
      Event payload data as byte array.
    • any

      protected Any any
      Event payload data as Any object.
    • acl

      protected String acl
      Access control list. An empty ACL means here, that the event is dispatched to everyone.
      Since:
      8.00.010.005
  • Constructor Details

    • Event

      public Event()
  • Method Details

    • getBusId

      public long getBusId()
    • setBusId

      public void setBusId(long busId)
    • getId

      public long getId()
    • setId

      public void setId(long eventId)
    • getData

      public byte[] getData()
    • setData

      public void setData(byte[] data)
    • getType

      public long getType()
    • setType

      public void setType(long v)
    • getAny

      public Any getAny()
    • setAny

      public void setAny(Any any)
    • getParam1

      public long getParam1()
    • setParam1

      public void setParam1(long param1)
    • getParam2

      public String getParam2()
    • setParam2

      public void setParam2(String param2)
    • getSenderId

      public long getSenderId()
    • setSenderId

      public void setSenderId(long senderId)
    • getAcl

      public String getAcl()
    • setAcl

      public void setAcl(String acl)
    • toString

      public String toString()
      Overrides:
      toString in class Object