TML Messaging Suite  1.1.5
for Java
 All Classes Namespaces Functions Variables Groups Pages
int com.tmlsidex.jni.Tml.tml_Cmd_Header_GetReplyType ( long  cmdHandle) throws TmlSidexException

get reply type

If a progress or status reply is received, the command execution state is TMLCOM_CSTATE_PENDING. In that case the reply type can be used to determine the kind of reply.

Name Value Description
TMLCOM_RPY_PROGRESS 0progress reply
TMLCOM_RPY_WARNING 10warning status reply
TMLCOM_RPY_ERROR 20error status reply
TMLCOM_RPY_INFORMATION 30information status reply
TMLCOM_CSTATE_UNDEFINED -1undefined reply type
Parameters
cmdHandleTML command handle (TML_COMMAND_HANDLE)
Returns
reference to reply type
Exceptions
TmlSidexException