/** * 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 dumpMemory operation allows a consumer to dump memory areas of a selected device from a provider. The dumping process can be aborted by using the identifier provided in the acknowledge phase. * @param deviceName The deviceName field shall contain the name of the destination device. The interpretation of the value is implementation-specific. * @param base The base field shall contain the base reference of the memory within the memory block. * @param memoryAreas The memoryAreas field shall contain the memory areas to be dumped. * @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 Long dumpMemory(org.ccsds.moims.mo.mal.structures.Identifier deviceName, org.ccsds.moims.mo.mal.structures.UInteger base, org.ccsds.moims.mo.softwaremanagement.memorymanagement.structures.MemoryAreaList memoryAreas, org.ccsds.moims.mo.softwaremanagement.memorymanagement.consumer.MemoryManagementAdapter adapter) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException { org.ccsds.moims.mo.mal.transport.MALMessageBody body = consumer.progress(org.ccsds.moims.mo.softwaremanagement.memorymanagement.MemoryManagementHelper.DUMPMEMORY_OP, adapter, deviceName, base, memoryAreas); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.Union(Long.MAX_VALUE)); return (body0 == null) ? null : ((org.ccsds.moims.mo.mal.structures.Union) body0).getLongValue(); }
/** * The patchImage operation allows a consumer to generate a new software image on the provider from a previous baseline Image. The operation can use the Activity Tracking service to report the progress of the generation. * @param baselineImage . * @param patchObjId . * @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.Duration patchImage(Long baselineImage, Long patchObjId, org.ccsds.moims.mo.softwaremanagement.softwareimage.consumer.SoftwareImageAdapter 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.softwareimage.SoftwareImageHelper.PATCHIMAGE_OP, adapter, (baselineImage == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(baselineImage), (patchObjId == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(patchObjId)); Object body0 = (Object) body.getBodyElement(0, new org.ccsds.moims.mo.mal.structures.Duration()); return (org.ccsds.moims.mo.mal.structures.Duration) body0; }