/** * The getMagneticField operation allows a consumer to retrieve the magnetic field instance from a magnetometer unit. * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.platform.magnetometer.structures.MagneticFieldInstance getMagneticField() throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.platform.magnetometer.MagnetometerHelper.GETMAGNETICFIELD_OP, (Object[]) null); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.platform.magnetometer.structures.MagneticFieldInstance()); return (org.ccsds.moims.mo.platform.magnetometer.structures.MagneticFieldInstance) body0; }
/** * @param patchName . * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.mal.structures.LongList listPatch(org.ccsds.moims.mo.mal.structures.IdentifierList patchName) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.softwaremanagement.softwareimage.SoftwareImageHelper.LISTPATCH_OP, patchName); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.LongList()); return (org.ccsds.moims.mo.mal.structures.LongList) body0; }
/** * The previewPicture operation allows a consumer to quickly get a raw picture from the camera with a lower quality. This operation intendes to provide a quick snap of what the camera is observing. * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.platform.camera.structures.Picture previewPicture() throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.platform.camera.CameraHelper.PREVIEWPICTURE_OP, (Object[]) null); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.platform.camera.structures.Picture()); return (org.ccsds.moims.mo.platform.camera.structures.Picture) body0; }
/** * The getLastKnownPosition operation allows a consumer to retrieve the last known position that was provided by the GPS unit. * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.platform.gps.body.GetLastKnownPositionResponse getLastKnownPosition() throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.platform.gps.GPSHelper.GETLASTKNOWNPOSITION_OP, (Object[]) null); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.platform.gps.structures.Position()); Object body1 = (Object) body.getBodyElement(1, new org.ccsds.moims.mo.mal.structures.Duration()); return new org.ccsds.moims.mo.platform.gps.body.GetLastKnownPositionResponse((org.ccsds.moims.mo.platform.gps.structures.Position) body0, (org.ccsds.moims.mo.mal.structures.Duration) body1); }
/** * The getProperties operation allows a consumer to request the properties of the service and camera. The service shall provide information about the available resolutions, formats and some extra information. * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.platform.camera.body.GetPropertiesResponse getProperties() throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.platform.camera.CameraHelper.GETPROPERTIES_OP, (Object[]) null); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.platform.camera.structures.PixelResolutionList()); Object body1 = (Object) body.getBodyElement(1, new org.ccsds.moims.mo.platform.camera.structures.PictureFormatList()); Object body2 = (Object) body.getBodyElement(2, new org.ccsds.moims.mo.mal.structures.Union("")); return new org.ccsds.moims.mo.platform.camera.body.GetPropertiesResponse((org.ccsds.moims.mo.platform.camera.structures.PixelResolutionList) body0, (org.ccsds.moims.mo.platform.camera.structures.PictureFormatList) body1, (body2 == null) ? null : ((org.ccsds.moims.mo.mal.structures.Union) body2).getStringValue()); }
/** * The listNearbyPositionEvent operation allows a consumer to request the object instance identifiers of the existing nearby position events in the service. The operation is expected to be used in conjunction with the COM archive which holds the actual nearby position objects. * @param names The names field shall hold a list of NearbyPositionEvent names. * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.mal.structures.LongList listNearbyPosition(org.ccsds.moims.mo.mal.structures.IdentifierList names) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.platform.gps.GPSHelper.LISTNEARBYPOSITION_OP, names); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.LongList()); return (org.ccsds.moims.mo.mal.structures.LongList) body0; }
/** * The addNearbyPositionEvent operation allows a consumer to define a list of nearby position events in the service.The new NearbyPosition objects are expected to be stored in the COM Archive by the provider of the GPS service. * @param nearbyPositionDefinitions The nearbyPosition field shall hold the definition of a position. * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.mal.structures.LongList addNearbyPosition(org.ccsds.moims.mo.platform.gps.structures.NearbyPositionDefinitionList nearbyPositionDefinitions) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.platform.gps.GPSHelper.ADDNEARBYPOSITION_OP, nearbyPositionDefinitions); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.LongList()); return (org.ccsds.moims.mo.mal.structures.LongList) body0; }
/** * The listImage operation allows a consumer to request the object instance identifiers of the SoftwareImage objects for the existing Images available on the provider. * @param imageNames . * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.mal.structures.LongList listImage(org.ccsds.moims.mo.mal.structures.IdentifierList imageNames) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.softwaremanagement.softwareimage.SoftwareImageHelper.LISTIMAGE_OP, imageNames); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.LongList()); return (org.ccsds.moims.mo.mal.structures.LongList) body0; }
/** * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.com.archivesync.body.GetTimeResponse getTime() throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.com.archivesync.ArchiveSyncHelper.GETTIME_OP, (Object[]) null); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.FineTime()); Object body1 = (Object) body.getBodyElement(1, new org.ccsds.moims.mo.mal.structures.FineTime()); return new org.ccsds.moims.mo.com.archivesync.body.GetTimeResponse((org.ccsds.moims.mo.mal.structures.FineTime) body0, (org.ccsds.moims.mo.mal.structures.FineTime) body1); }
/** * @param wordIds . * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.mal.structures.StringList getDictionary(org.ccsds.moims.mo.mal.structures.IntegerList wordIds) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.com.archivesync.ArchiveSyncHelper.GETDICTIONARY_OP, wordIds); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.StringList()); return (org.ccsds.moims.mo.mal.structures.StringList) body0; }
/** * The getPeriod operation allows a consumer to get the period of the provider's heartbeat. * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.mal.structures.Duration getPeriod() throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.softwaremanagement.heartbeat.HeartbeatHelper.GETPERIOD_OP, (Object[]) null); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.Duration()); return (org.ccsds.moims.mo.mal.structures.Duration) body0; }
/** * @param relatedImageObjIds . * @param files . * @param patchDefs . * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.mal.structures.LongList addPatch(org.ccsds.moims.mo.mal.structures.LongList relatedImageObjIds, org.ccsds.moims.mo.mal.structures.FileList files, org.ccsds.moims.mo.softwaremanagement.softwareimage.structures.PatchDefinition patchDefs) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.softwaremanagement.softwareimage.SoftwareImageHelper.ADDPATCH_OP, relatedImageObjIds, files, patchDefs); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.LongList()); return (org.ccsds.moims.mo.mal.structures.LongList) body0; }
/** * @param files . * @param imageDefs . * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.mal.structures.LongList addImage(org.ccsds.moims.mo.mal.structures.FileList files, org.ccsds.moims.mo.softwaremanagement.softwareimage.structures.ImageDefinitionList imageDefs) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.softwaremanagement.softwareimage.SoftwareImageHelper.ADDIMAGE_OP, files, imageDefs); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.LongList()); return (org.ccsds.moims.mo.mal.structures.LongList) body0; }
/** * The listUnitsAvailable operation allows a consumer to request the list of the units available and their respective status. * @param names The names field holds the name of the units. * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.platform.powercontrol.body.ListUnitsAvailableResponse listUnitsAvailable(org.ccsds.moims.mo.mal.structures.IdentifierList names) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.platform.powercontrol.PowerControlHelper.LISTUNITSAVAILABLE_OP, names); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.LongList()); Object body1 = (Object) body.getBodyElement(1, new org.ccsds.moims.mo.mal.structures.BooleanList()); return new org.ccsds.moims.mo.platform.powercontrol.body.ListUnitsAvailableResponse((org.ccsds.moims.mo.mal.structures.LongList) body0, (org.ccsds.moims.mo.mal.structures.BooleanList) body1); }
/** * The install operation allows a consumer to install the content of a package on the provider. The selected packages will be installed sequencially. * @param names The names field contains the names of the packages. * @param adapter adapter Listener in charge of receiving the messages from the service provider. * @return The acknowledge value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.mal.structures.BooleanList install(org.ccsds.moims.mo.mal.structures.IdentifierList names, org.ccsds.moims.mo.softwaremanagement.packagemanagement.consumer.PackageManagementAdapter adapter) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.invoke(org.ccsds.moims.mo.softwaremanagement.packagemanagement.PackageManagementHelper.INSTALL_OP, adapter, names); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.BooleanList()); return (org.ccsds.moims.mo.mal.structures.BooleanList) body0; }
/** * The listAttitudeDefinition operation allows a consumer to request the object instance identifiers of the attitude definition objects for the supported parameters of the provider. The operation is expected to be used in conjunction with the COM archive which holds the actual ParameterDefinition objects. * @param names The names of the Attitude definitions to be listed. The names field may contain the wildcard value of '*' to return all supported ParameterDefinition objects. * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.mal.structures.LongList listAttitudeDefinition(org.ccsds.moims.mo.mal.structures.IdentifierList names) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.platform.autonomousadcs.AutonomousADCSHelper.LISTATTITUDEDEFINITION_OP, names); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.LongList()); return (org.ccsds.moims.mo.mal.structures.LongList) body0; }
/** * The findPackage operation allows a consumer to find the available packages on the provider. * @param names The names field contains the names of the packages. * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.softwaremanagement.packagemanagement.body.FindPackageResponse findPackage(org.ccsds.moims.mo.mal.structures.IdentifierList names) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.softwaremanagement.packagemanagement.PackageManagementHelper.FINDPACKAGE_OP, names); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.IdentifierList()); Object body1 = (Object) body.getBodyElement(1, new org.ccsds.moims.mo.mal.structures.BooleanList()); return new org.ccsds.moims.mo.softwaremanagement.packagemanagement.body.FindPackageResponse((org.ccsds.moims.mo.mal.structures.IdentifierList) body0, (org.ccsds.moims.mo.mal.structures.BooleanList) body1); }
/** * The checkPackageIntegrity operation allows a consumer to check the integrity of a certain package on the provider. * @param names The names field contains the names of the packages. * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.softwaremanagement.packagemanagement.body.CheckPackageIntegrityResponse checkPackageIntegrity(org.ccsds.moims.mo.mal.structures.IdentifierList names) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.softwaremanagement.packagemanagement.PackageManagementHelper.CHECKPACKAGEINTEGRITY_OP, names); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.BooleanList()); Object body1 = (Object) body.getBodyElement(1, new org.ccsds.moims.mo.mal.structures.StringList()); return new org.ccsds.moims.mo.softwaremanagement.packagemanagement.body.CheckPackageIntegrityResponse((org.ccsds.moims.mo.mal.structures.BooleanList) body0, (org.ccsds.moims.mo.mal.structures.StringList) body1); }
/** * The listApp operation allows a consumer to request the object instance identifiers of the Apps objects and running status for an app name or for a certain app category. * @param appNames The appNames field contains a list of application names. * @param category The category field contains the category identifier to filter on. * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.softwaremanagement.appslauncher.body.ListAppResponse listApp(org.ccsds.moims.mo.mal.structures.IdentifierList appNames, org.ccsds.moims.mo.mal.structures.Identifier category) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.softwaremanagement.appslauncher.AppsLauncherHelper.LISTAPP_OP, appNames, category); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.LongList()); Object body1 = (Object) body.getBodyElement(1, new org.ccsds.moims.mo.mal.structures.BooleanList()); return new org.ccsds.moims.mo.softwaremanagement.appslauncher.body.ListAppResponse((org.ccsds.moims.mo.mal.structures.LongList) body0, (org.ccsds.moims.mo.mal.structures.BooleanList) body1); }
/** * The list operation returns list of configurations known to the configuration service provider for a certain configuration type in a specific domain. To appear in the response from the list operation a configuration must have been added to the configuration service provider using the add operation. * @param type The configurationType argument shall hold the type of configuration to be listed. * @param domain The domain request argument shall contain the domain of the configuration objects to return. The domain field supports the wildcard value of '*' only in the last part of the domain, otherwise an INVALID error shall be returned. * @param service If the request configuration type is SERVICE, then an optional service filter may be supplied in the serviceKey field. Wildcard values of '0' are not accepted in the serviceKey fields, an INVALID error shall be returned in this case. For other types of configuration the serviceKey field shall be ignored and may be set to NULL in the request. * @return The return value of the interaction. * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification. * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception. */ public org.ccsds.moims.mo.com.structures.ObjectIdList list(org.ccsds.moims.mo.common.configuration.structures.ConfigurationType type, org.ccsds.moims.mo.mal.structures.IdentifierList domain, org.ccsds.moims.mo.common.structures.ServiceKey service) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.request(org.ccsds.moims.mo.common.configuration.ConfigurationHelper.LIST_OP, type, domain, service); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.com.structures.ObjectIdList()); return (org.ccsds.moims.mo.com.structures.ObjectIdList) body0; }