org.ccsds.moims.mo.com.event.EventHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of API_COM Show documentation
Show all versions of API_COM Show documentation
The CCSDS COM API for Java
package org.ccsds.moims.mo.com.event;
/**
* Helper class for Event service.
*/
public class EventHelper
{
/**
* 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");
/**
* Service singleton instance.
*/
public static org.ccsds.moims.mo.mal.MALService EVENT_SERVICE = new org.ccsds.moims.mo.mal.MALService(EVENT_SERVICE_NUMBER, EVENT_SERVICE_NAME);
/**
* 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(MONITOREVENT_OP_NUMBER, new org.ccsds.moims.mo.mal.structures.Identifier("monitorEvent"), true, new org.ccsds.moims.mo.mal.structures.UShort(1), new Long[] {org.ccsds.moims.mo.com.structures.ObjectDetailsList.SHORT_FORM, null}, new Long[0]);
/**
* Registers all aspects of this service with the provided element factory.
* @param bodyElementFactory bodyElementFactory The element factory registry to initialise with this helper.
* @throws org.ccsds.moims.mo.mal.MALException If cannot initialise this helper.
*/
public static void init(org.ccsds.moims.mo.mal.MALElementFactoryRegistry bodyElementFactory) throws org.ccsds.moims.mo.mal.MALException
{
EVENT_SERVICE.addOperation(MONITOREVENT_OP);
org.ccsds.moims.mo.com.COMHelper.COM_AREA.addService(EVENT_SERVICE);
}
/**
* Registers all aspects of this service with the provided element factory and any referenced areas/services.
* @param bodyElementFactory bodyElementFactory The element factory registry to initialise with this helper.
* @throws org.ccsds.moims.mo.mal.MALException If cannot initialise this helper.
*/
public static void deepInit(org.ccsds.moims.mo.mal.MALElementFactoryRegistry bodyElementFactory) throws org.ccsds.moims.mo.mal.MALException
{
init(bodyElementFactory);
}
}