All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ccsds.moims.mo.com.event.EventServiceInfo Maven / Gradle / Ivy

The newest version!
package org.ccsds.moims.mo.com.event;

/**
 * Helper class for Event service.
 */
public class EventServiceInfo extends org.ccsds.moims.mo.com.COMService {

    /**
     * Service number literal.
     */
    public static final int _EVENT_SERVICE_NUMBER = 1;

    /**
     * Service number instance.
     */
    public static final org.ccsds.moims.mo.mal.structures.UShort EVENT_SERVICE_NUMBER = new org.ccsds.moims.mo.mal.structures.UShort(_EVENT_SERVICE_NUMBER);

    /**
     * Service name constant.
     */
    public static final org.ccsds.moims.mo.mal.structures.Identifier EVENT_SERVICE_NAME = new org.ccsds.moims.mo.mal.structures.Identifier("Event");

    /**
     * The service key of this service.
     */
    public static final org.ccsds.moims.mo.mal.ServiceKey SERVICE_KEY = new org.ccsds.moims.mo.mal.ServiceKey(
            2,1,EVENT_SERVICE_NUMBER);

    /**
     * Operation number literal for operation MONITOREVENT.
     */
    public static final int _MONITOREVENT_OP_NUMBER = 1;

    /**
     * Operation number instance for operation MONITOREVENT.
     */
    public static final org.ccsds.moims.mo.mal.structures.UShort MONITOREVENT_OP_NUMBER = new org.ccsds.moims.mo.mal.structures.UShort(_MONITOREVENT_OP_NUMBER);

    /**
     * Operation instance for operation MONITOREVENT.
     */
    public static final org.ccsds.moims.mo.mal.MALPubSubOperation MONITOREVENT_OP = new org.ccsds.moims.mo.mal.MALPubSubOperation(SERVICE_KEY, 
            MONITOREVENT_OP_NUMBER, 
            new org.ccsds.moims.mo.mal.structures.Identifier("monitorEvent"), 
            new org.ccsds.moims.mo.mal.structures.UShort(1), 
            new org.ccsds.moims.mo.mal.OperationField[] {
                new org.ccsds.moims.mo.mal.OperationField("eventLinks", true, org.ccsds.moims.mo.com.structures.ObjectDetails.SHORT_FORM),
                new org.ccsds.moims.mo.mal.OperationField("eventBody", true, null)});

    /**
     * Key names instance for MONITOREVENT operation of pubsub interaction pattern. 
     */
    public static final org.ccsds.moims.mo.mal.structures.Identifier [] _MONITOREVENT_OP_KEY_NAMES = {};

    /**
     * Key names instance for MONITOREVENT operation of pubsub interaction pattern. 
     */
    public static final org.ccsds.moims.mo.mal.structures.IdentifierList MONITOREVENT_OP_KEY_NAMES = new org.ccsds.moims.mo.mal.structures.IdentifierList(new java.util.ArrayList<>(java.util.Arrays.asList(_MONITOREVENT_OP_KEY_NAMES)));

    /**
     * Area elements.
     */
    public static final org.ccsds.moims.mo.mal.structures.Element[] EVENT_SERVICE_ELEMENTS = {};

    /**
     * The set of operations for this service.
     */
    public static final org.ccsds.moims.mo.mal.MALOperation[] OPERATIONS = new org.ccsds.moims.mo.mal.MALOperation[]{MONITOREVENT_OP};

    /**
     * 
     */
    public EventServiceInfo() {
        super(SERVICE_KEY, EVENT_SERVICE_NAME, EVENT_SERVICE_ELEMENTS, OPERATIONS);
    }

    @Override
    public org.ccsds.moims.mo.mal.MALArea getArea() {
        return org.ccsds.moims.mo.com.COMHelper.COM_AREA;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy