com.ibm.wiotp.sdk.app.messages

Class Event<T>

  • All Implemented Interfaces:
    EventInterface<T>, MessageInterface<T>


    public class Event<T>
    extends Object
    implements EventInterface<T>
    This class inherits from Message and denotes the device event
    This class is immutable and may be made final later on
    • Constructor Detail

      • Event

        public Event(String typeId,
                     String deviceId,
                     String eventId,
                     String format,
                     MessageInterface<T> message)
        Parameters:
        typeId - object of String which denotes event type
        deviceId - object of String which denotes the event id
        eventId - object of String which denotes the event
        format - Format (encoding) of the event
        message - Object implementing MessageInterface

Copyright © 2019. All rights reserved.