public class IMCSendMessageUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
doesSystemWithAcousticCanReachSystem(ImcSystem acOpSystem,
java.lang.String system)
Test if a system with acoustic/operation service can reach a system by acoustics
|
static int |
getCurrentRequestId() |
static int |
getNextRequestId() |
static boolean |
sendMessage(pt.lsts.imc.IMCMessage msg,
java.awt.Component parent,
java.lang.String errorTextForDialog,
boolean ignoreAcousticSending,
boolean acousticOpUserAprovedQuestion,
java.lang.String... ids) |
static boolean |
sendMessage(pt.lsts.imc.IMCMessage msg,
java.awt.Component parent,
java.lang.String errorTextForDialog,
boolean ignoreAcousticSending,
java.lang.String acousticOpServiceName,
boolean acousticOpUseOnlyActive,
boolean acousticOpUserAprovedQuestion,
java.lang.String... ids) |
static boolean |
sendMessage(pt.lsts.imc.IMCMessage msg,
java.lang.String errorTextForDialog,
boolean ignoreAcousticSending,
java.lang.String... ids) |
static boolean |
sendMessage(pt.lsts.imc.IMCMessage msg,
java.lang.String sendProperties,
MessageDeliveryListener listener,
java.awt.Component parent,
java.lang.String errorTextForDialog,
boolean ignoreAcousticSending,
java.lang.String acousticOpServiceName,
boolean acousticOpUseOnlyActive,
boolean acousticOpUserAprovedQuestion,
java.lang.String... ids) |
static boolean |
sendMessage(pt.lsts.imc.IMCMessage msg,
java.lang.String errorTextForDialog,
java.lang.String... ids) |
static boolean |
sendMessageByAcousticModem(pt.lsts.imc.IMCMessage msg,
java.lang.String system,
ImcSystem[] acousticOpSysLst) |
public static int getNextRequestId()
public static int getCurrentRequestId()
public static boolean sendMessage(pt.lsts.imc.IMCMessage msg, java.lang.String errorTextForDialog, java.lang.String... ids)
public static boolean sendMessage(pt.lsts.imc.IMCMessage msg, java.lang.String errorTextForDialog, boolean ignoreAcousticSending, java.lang.String... ids)
public static boolean sendMessage(pt.lsts.imc.IMCMessage msg, java.awt.Component parent, java.lang.String errorTextForDialog, boolean ignoreAcousticSending, boolean acousticOpUserAprovedQuestion, java.lang.String... ids)
public static boolean sendMessage(pt.lsts.imc.IMCMessage msg, java.awt.Component parent, java.lang.String errorTextForDialog, boolean ignoreAcousticSending, java.lang.String acousticOpServiceName, boolean acousticOpUseOnlyActive, boolean acousticOpUserAprovedQuestion, java.lang.String... ids)
public static boolean sendMessage(pt.lsts.imc.IMCMessage msg, java.lang.String sendProperties, MessageDeliveryListener listener, java.awt.Component parent, java.lang.String errorTextForDialog, boolean ignoreAcousticSending, java.lang.String acousticOpServiceName, boolean acousticOpUseOnlyActive, boolean acousticOpUserAprovedQuestion, java.lang.String... ids)
msg
- sendProperties
- The same of ImcMsgManager.sendMessage(IMCMessage, pt.lsts.neptus.comm.manager.imc.ImcId16, String, pt.lsts.neptus.comm.manager.imc.MessageDeliveryListener)
,
use null if don't care.parent
- The parent component for popup error messageerrorTextForDialog
- ignoreAcousticSending
- If this is true mean don't use acoustic.acousticOpServiceName
- acousticOpUseOnlyActive
- acousticOpUserAprovedQuestion
- ids
- public static boolean sendMessageByAcousticModem(pt.lsts.imc.IMCMessage msg, java.lang.String system, ImcSystem[] acousticOpSysLst)
msg
- system
- acousticOpSysLst
- public static boolean doesSystemWithAcousticCanReachSystem(ImcSystem acOpSystem, java.lang.String system)
acOpSystem
- system
- Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.