Class X400mt


  • public class X400mt
    extends java.lang.Object
    Provides the X.400 class used to implement the Java bindings to the Isode X.400 MT API
    • Constructor Summary

      Constructors 
      Constructor Description
      X400mt()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      The main program - just a test method
      static int x400_mt_acp127respget​(MTMessage msg_obj, com.isode.x400api.ACP127Resp acp127resp_obj)
      Get the ACP127 Response object from a recipient
      static int x400_mt_acp127respnew​(MTMessage msg_obj, com.isode.x400api.ACP127Resp acp127resp_obj)
      Create a P772 ACP127 Response object.
      static int x400_mt_aliget​(MTMessage mtmessage_obj, int entry, com.isode.x400api.ALI ali_obj)
      Wrapper to JNI Native call to X400mtALIGet()
      static int x400_mt_alinew​(MTMessage mtmessage_obj, com.isode.x400api.ALI ali_obj)
      Wrapper to JNI Native call to X400mtALINew()
      static int x400_mt_close​(com.isode.x400api.Session session_obj)
      Wrapper to JNI Native call to MTClose()
      static int x400_mt_distfieldget​(MTMessage mtmessage_obj, int entry, com.isode.x400api.DistField distfield_obj)
      Wrapper to JNI Native call to X400mtDistFieldGet()
      static int x400_mt_distfieldnew​(MTMessage mtmessage_obj, com.isode.x400api.DistField distfield_obj)
      Wrapper to JNI Native call to X400mtDistFieldNew()
      static int x400_mt_DLexphistget​(MTMessage mtmessage_obj, int entry, com.isode.x400api.DLExpHist dl_exp_hist_obj)
      Wrapper to JNI Native call to X400mtDLExpHistGet()
      static int x400_mt_DLexphistnew​(MTMessage mtmessage_obj, com.isode.x400api.DLExpHist dl_exp_hist_obj)
      Wrapper to JNI Native call to X400mtDLExpHistNew()
      static java.lang.String x400_mt_get_string_error​(com.isode.x400api.Session session_obj, int errcode)
      Wrapper to JNI Native call to MTError()
      static int x400_mt_internaltraceinfoget​(MTMessage mtmessage_obj, int entry, com.isode.x400api.InternalTraceinfo internaltraceinfo_obj)
      Wrapper to JNI Native call to X400mttraceinfoGet()
      static int x400_mt_internaltraceinfonew​(MTMessage mtmessage_obj, com.isode.x400api.InternalTraceinfo internaltraceinfo_obj)
      Wrapper to JNI Native call to X400mtInternalTraceInfoNew()
      static int x400_mt_mark_to_fault​(com.isode.x400api.Session session_obj, int paramtype, boolean fault)
      Wrapper to JNI Native call to MTMarkToFault()
      static int x400_mt_msgaddattachment​(MTMessage mtmessage_obj, int paramtype, java.lang.String value, int len, byte[] binarydata)
      Wrapper to JNI Native call to X400mtMsgAddAttachment()
      static int x400_mt_msgaddbodypart​(MTMessage mtmessage_obj, com.isode.x400api.BodyPart bp_obj)
      Wrapper to JNI Native call to X400mtMsgAddBodypart()
      static int x400_mt_msgaddbyteparam​(MTMessage mtmessage_obj, int paramtype, byte[] binarydata)
      Wrapper to JNI Native call to MTMsgAddStrParam()
      static int x400_mt_msgaddintparam​(MTMessage mtmessage_obj, int paramtype, int value)
      Wrapper to JNI Native call to MTMsgAddIntParam()
      static int x400_mt_msgaddmessagebody​(MTMessage mtmessage_obj, com.isode.x400api.Message fw_message_obj)
      Wrapper to JNI Native call to X400mtMsgAddMessageBody()
      static int x400_mt_msgaddmessagebodywtype​(MTMessage mtmessage_obj, com.isode.x400api.Message fw_message_obj, int type)
      Wrapper to JNI Native call to X400mtMsgAddMessageBody()
      static int x400_mt_msgaddstrparam​(MTMessage mtmessage_obj, int paramtype, java.lang.String value, int len)
      Wrapper to JNI Native call to MTMsgAddStrParam()
      static int x400_mt_msgcountrecip​(MTMessage mtmessage_obj, int type)
      Wrapper to JNI Native call to X400MsgCountRecip()
      static int x400_mt_msgdel​(MTMessage mtmessage_obj)
      Wrapper to JNI Native call to MTMsgDel()
      static int x400_mt_msgget​(com.isode.x400api.Session session_obj, MTMessage mtmessage_obj)
      Wrapper to JNI Native call to MTMsgGet()
      static int x400_mt_msggetattachment​(MTMessage mtmessage_obj, int number, java.lang.StringBuffer value, byte[] binarydata)
      Wrapper to JNI Native call to X400mtMsgGetAttachment()
      static int x400_mt_msggetbodypart​(MTMessage mtmessage_obj, int number, com.isode.x400api.BodyPart bp_obj)
      Wrapper to JNI Native call to X400mtMsgGetBodypart()
      static int x400_mt_msggetbyteparam​(MTMessage mtmessage_obj, int paramtype, byte[] binarydata)
      Wrapper to JNI Native call to MTMsgGetByteParam()
      static int x400_mt_msggetcriticality​(MTMessage mtmessage_obj, int paramtype)
      Wrapper to JNI Native call to MTMsgGetCriticality()
      static int x400_mt_msggetfinish​(MTMessage mtmessage_obj, int status, int reason, int diag, java.lang.String info)
      Wrapper to JNI Native call to MTMsgGetFinish()
      static int x400_mt_msggetintparam​(MTMessage mtmessage_obj, int paramtype)
      Wrapper to JNI Native call to MTMsgGetIntParam()
      static int x400_mt_msggetmessagebody​(MTMessage mtmessage_obj, int number, com.isode.x400api.Message message_body_obj)
      Wrapper to JNI Native call to X400mtMsgGetMessageBody() Returns a message from the specified body part
      static int x400_mt_msggetstart​(com.isode.x400api.Session session_obj, MTMessage mtmessage_obj)
      Wrapper to JNI Native call to MTMsgGetStart()
      static int x400_mt_msggetstrparam​(MTMessage mtmessage_obj, int paramtype, java.lang.StringBuffer value)
      Wrapper to JNI Native call to MTMsgGetStrParam()
      static int x400_mt_msgnew​(com.isode.x400api.Session session_obj, int type, MTMessage mtmessage_obj)
      Wrapper to JNI Native call to MTMsgNew()
      static int x400_mt_msgsend​(MTMessage mtmessage_obj)
      Wrapper to JNI Native call to MSMsgSend()
      static int x400_mt_open​(java.lang.String credentials, com.isode.x400api.Session session_obj)
      Wrapper to JNI Native call to MTOpen()
      static int x400_mt_oranddlget​(MTMessage mtmessage_obj, int entry, com.isode.x400api.ORandDL oranddl_obj)
      Wrapper to JNI Native call to X400mtORandDLGet()
      static int x400_mt_oranddlnew​(MTMessage mtmessage_obj, com.isode.x400api.ORandDL oranddl_obj)
      Wrapper to JNI Native call to X400mtORandDLNew()
      static int x400_mt_otherrecipget​(MTMessage mtmessage_obj, int entry, com.isode.x400api.OtherRecip otherrecip_obj)
      Wrapper to JNI Native call to X400mtOtherRecipGet()
      static int x400_mt_otherrecipnew​(MTMessage mtmessage_obj, com.isode.x400api.OtherRecip otherrecip_obj)
      Wrapper to JNI Native call to X400mtOtherRecipNew()
      static int x400_mt_pssget​(MTMessage mtmessage_obj, int entry, com.isode.x400api.PSS pss_obj, int type)
      Wrapper to JNI Native call to X400mtPSSGet()
      static int x400_mt_pssnew​(MTMessage mtmessage_obj, com.isode.x400api.PSS pss_obj, int type)
      Wrapper to JNI Native call to X400mtPSSNew()
      static int x400_mt_recipaddintparam​(com.isode.x400api.Recip recip_obj, int paramtype, int value)
      Wrapper to JNI Native call to MTRecipAddIntParam()
      static int x400_mt_recipaddstrparam​(com.isode.x400api.Recip recip_obj, int paramtype, java.lang.String value, int len)
      Wrapper to JNI Native call to MTRecipAddStrParam()
      static int x400_mt_recipget​(MTMessage mtmessage_obj, int type, int num, com.isode.x400api.Recip recip_obj)
      Wrapper to JNI Native call to MTRecipGet()
      static int x400_mt_recipgetcriticality​(com.isode.x400api.Recip recip_obj, int paramtype)
      Wrapper to JNI Native call to MTRecipGetCriticality()
      static int x400_mt_recipgetintparam​(com.isode.x400api.Recip recip_obj, int paramtype)
      Wrapper to JNI Native call to MTRecipGetIntParam()
      static int x400_mt_recipgetstrparam​(com.isode.x400api.Recip recip_obj, int paramtype, java.lang.StringBuffer value)
      Wrapper to JNI Native call to MTRecipGetStrParam()
      static int x400_mt_recipnew​(MTMessage mtmessage_obj, int type, com.isode.x400api.Recip recip_obj)
      Wrapper to JNI Native call to MTRecipNew()
      static int x400_mt_redihistgetenv​(MTMessage mtmessage_obj, int entry, com.isode.x400api.RediHist redihist_obj)
      Wrapper to JNI Native call to RediHistGet()
      static int x400_mt_redihistnewenv​(MTMessage mtmessage_obj, com.isode.x400api.RediHist redihist_obj)
      Wrapper to JNI Native call to RediHistNew()
      static int x400_mt_setcontentoctets​(MTMessage mtmessage_obj, byte[] binarydata)
      Wrapper to JNI Native call to X400mtSetContentOctets()
      static int x400_mt_setintdefault​(com.isode.x400api.Session session_obj, int paramtype, int value)
      Wrapper to JNI Native call to X400mtSetIntDefault()
      static int x400_mt_setstrdefault​(com.isode.x400api.Session session_obj, int paramtype, java.lang.String value, int len)
      Wrapper to JNI Native call to X400mtSetStrDefault()
      static int x400_mt_traceinfoget​(MTMessage mtmessage_obj, int entry, com.isode.x400api.Traceinfo traceinfo_obj, int type)
      Wrapper to JNI Native call to X400mttraceinfoGet()
      static int x400_mt_traceinfonew​(MTMessage mtmessage_obj, com.isode.x400api.Traceinfo traceinfo_obj, int type)
      Wrapper to JNI Native call to X400mtTraceInfoNew()
      static int x400_mt_wait​(com.isode.x400api.Session session_obj, int seconds)
      Wrapper to JNI Native call to X400mtWait()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • X400mt

        public X400mt()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        The main program - just a test method
      • x400_mt_open

        public static int x400_mt_open​(java.lang.String credentials,
                                       com.isode.x400api.Session session_obj)
        Wrapper to JNI Native call to MTOpen()
        Parameters:
        credentials - Password with which to bind to the P7 store
        session_obj - Session object to be returned
      • x400_mt_mark_to_fault

        public static int x400_mt_mark_to_fault​(com.isode.x400api.Session session_obj,
                                                int paramtype,
                                                boolean fault)
        Wrapper to JNI Native call to MTMarkToFault()
        Parameters:
        session_obj - Session object
        paramtype - Type of parameter to be marked
        fault - True if parameter should be faulted
      • x400_mt_msgnew

        public static int x400_mt_msgnew​(com.isode.x400api.Session session_obj,
                                         int type,
                                         MTMessage mtmessage_obj)
        Wrapper to JNI Native call to MTMsgNew()
        Parameters:
        session_obj - Session object from MTOpen
        type - Type of session to open: 0 = P7, 1 = p3
        mtmessage_obj - Message object to be returned
      • x400_mt_recipnew

        public static int x400_mt_recipnew​(MTMessage mtmessage_obj,
                                           int type,
                                           com.isode.x400api.Recip recip_obj)
        Wrapper to JNI Native call to MTRecipNew()
        Parameters:
        mtmessage_obj - Message object from MTMsgNew
        type - Type of recipient
        recip_obj - Recipient object to be returned
      • x400_mt_recipaddstrparam

        public static int x400_mt_recipaddstrparam​(com.isode.x400api.Recip recip_obj,
                                                   int paramtype,
                                                   java.lang.String value,
                                                   int len)
        Wrapper to JNI Native call to MTRecipAddStrParam()
        Parameters:
        recip_obj - Recipient object from MTRecipNew
        paramtype - Type of parameter to be added
        value - String to be added as paramtype
        len - [IGNORED] length of string to be added (-1 for NULL terminated) Please note that the len parameter is now ignored
      • x400_mt_recipaddintparam

        public static int x400_mt_recipaddintparam​(com.isode.x400api.Recip recip_obj,
                                                   int paramtype,
                                                   int value)
        Wrapper to JNI Native call to MTRecipAddIntParam()
        Parameters:
        recip_obj - Recipient object from MTRecipNew
        paramtype - Type of parameter to be added
        value - Integer to be added as paramtype
      • x400_mt_msgaddbyteparam

        public static int x400_mt_msgaddbyteparam​(MTMessage mtmessage_obj,
                                                  int paramtype,
                                                  byte[] binarydata)
        Wrapper to JNI Native call to MTMsgAddStrParam()
        Parameters:
        mtmessage_obj - Message object from MTMsgNew
        paramtype - Type of parameter to be added
        binarydata - binary value to be added as paramtype Please note that the len parameter is now ignored
      • x400_mt_msgaddstrparam

        public static int x400_mt_msgaddstrparam​(MTMessage mtmessage_obj,
                                                 int paramtype,
                                                 java.lang.String value,
                                                 int len)
        Wrapper to JNI Native call to MTMsgAddStrParam()
        Parameters:
        mtmessage_obj - Message object from MTMsgNew
        paramtype - Type of parameter to be added
        value - String to be added as paramtype
        len - [IGNORED] length of string to be added (-1 for NULL terminated) Please note that the len parameter is now ignored
      • x400_mt_msgaddintparam

        public static int x400_mt_msgaddintparam​(MTMessage mtmessage_obj,
                                                 int paramtype,
                                                 int value)
        Wrapper to JNI Native call to MTMsgAddIntParam()
        Parameters:
        mtmessage_obj - Message object from MTMsgNew
        paramtype - Type of parameter to be added
        value - integer to be added as paramtype
      • x400_mt_msgsend

        public static int x400_mt_msgsend​(MTMessage mtmessage_obj)
        Wrapper to JNI Native call to MSMsgSend()
        Parameters:
        mtmessage_obj - Message object to be submitted
      • x400_mt_msgget

        public static int x400_mt_msgget​(com.isode.x400api.Session session_obj,
                                         MTMessage mtmessage_obj)
        Wrapper to JNI Native call to MTMsgGet()
        Parameters:
        session_obj - Session object from MTOpen
        mtmessage_obj - Message object to be returned
      • x400_mt_msggetstart

        public static int x400_mt_msggetstart​(com.isode.x400api.Session session_obj,
                                              MTMessage mtmessage_obj)
        Wrapper to JNI Native call to MTMsgGetStart()
        Parameters:
        session_obj - Session object from MTOpen
        mtmessage_obj - Message object to be returned
      • x400_mt_msggetfinish

        public static int x400_mt_msggetfinish​(MTMessage mtmessage_obj,
                                               int status,
                                               int reason,
                                               int diag,
                                               java.lang.String info)
        Wrapper to JNI Native call to MTMsgGetFinish()
        Parameters:
        mtmessage_obj - Message object we are finished with
        status - Status from gateway message handling
        reason - DR reason code. See standards for values
        diag - DR diagnostic code. See standards for values
        info - DR supplementary info
      • x400_mt_msgdel

        public static int x400_mt_msgdel​(MTMessage mtmessage_obj)
        Wrapper to JNI Native call to MTMsgDel()
        Parameters:
        mtmessage_obj - Message object to be deleted
      • x400_mt_msggetstrparam

        public static int x400_mt_msggetstrparam​(MTMessage mtmessage_obj,
                                                 int paramtype,
                                                 java.lang.StringBuffer value)
        Wrapper to JNI Native call to MTMsgGetStrParam()
        Parameters:
        mtmessage_obj - Message object from MTMsgNew
        paramtype - Type of parameter to be returned
        value - String object into which to return the value
      • x400_mt_msggetbyteparam

        public static int x400_mt_msggetbyteparam​(MTMessage mtmessage_obj,
                                                  int paramtype,
                                                  byte[] binarydata)
        Wrapper to JNI Native call to MTMsgGetByteParam()
        Parameters:
        mtmessage_obj - Message object from MTMsgNew
        paramtype - Type of parameter to be returned
        binarydata - data for binary attachments
      • x400_mt_msggetintparam

        public static int x400_mt_msggetintparam​(MTMessage mtmessage_obj,
                                                 int paramtype)
        Wrapper to JNI Native call to MTMsgGetIntParam()
        Parameters:
        mtmessage_obj - Message object from MTMsgNew
        paramtype - Type of parameter to be returned
      • x400_mt_msggetcriticality

        public static int x400_mt_msggetcriticality​(MTMessage mtmessage_obj,
                                                    int paramtype)
        Wrapper to JNI Native call to MTMsgGetCriticality()
        Parameters:
        mtmessage_obj - Message object from MTMsgNew
        paramtype - Type of parameter to be returned
      • x400_mt_recipgetcriticality

        public static int x400_mt_recipgetcriticality​(com.isode.x400api.Recip recip_obj,
                                                      int paramtype)
        Wrapper to JNI Native call to MTRecipGetCriticality()
        Parameters:
        mtmessage_obj - Recipient object from
        paramtype - Type of parameter to be returned
      • x400_mt_recipget

        public static int x400_mt_recipget​(MTMessage mtmessage_obj,
                                           int type,
                                           int num,
                                           com.isode.x400api.Recip recip_obj)
        Wrapper to JNI Native call to MTRecipGet()
        Parameters:
        mtmessage_obj - Message object from MTMsgGet
        type - Type of recipient
        recip_obj - Recipient object to be returned
      • x400_mt_recipgetintparam

        public static int x400_mt_recipgetintparam​(com.isode.x400api.Recip recip_obj,
                                                   int paramtype)
        Wrapper to JNI Native call to MTRecipGetIntParam()
        Parameters:
        recip_obj - Recipient object from MTMsgGetRecip
        paramtype - Type of parameter to be returned
      • x400_mt_recipgetstrparam

        public static int x400_mt_recipgetstrparam​(com.isode.x400api.Recip recip_obj,
                                                   int paramtype,
                                                   java.lang.StringBuffer value)
        Wrapper to JNI Native call to MTRecipGetStrParam()
        Parameters:
        recip_obj - Recipient object from MTMsgGetRecip
        paramtype - Type of parameter to be returned
        value - String object into which to return the value
      • x400_mt_get_string_error

        public static java.lang.String x400_mt_get_string_error​(com.isode.x400api.Session session_obj,
                                                                int errcode)
        Wrapper to JNI Native call to MTError()
        Parameters:
        errcode - The integer error code to be translated
      • x400_mt_close

        public static int x400_mt_close​(com.isode.x400api.Session session_obj)
        Wrapper to JNI Native call to MTClose()
        Parameters:
        session_obj - Session object from MTOpen
      • x400_mt_msgaddattachment

        public static int x400_mt_msgaddattachment​(MTMessage mtmessage_obj,
                                                   int paramtype,
                                                   java.lang.String value,
                                                   int len,
                                                   byte[] binarydata)
        Wrapper to JNI Native call to X400mtMsgAddAttachment()
        Parameters:
        mtmessage_obj - Message object
        paramtype - Type of attachment
        value - String value for attachment
        len - length of attachment
        binarydata - data for binary attachments
      • x400_mt_msgaddbodypart

        public static int x400_mt_msgaddbodypart​(MTMessage mtmessage_obj,
                                                 com.isode.x400api.BodyPart bp_obj)
        Wrapper to JNI Native call to X400mtMsgAddBodypart()
        Parameters:
        mtmessage_obj - Message object
        bp_obj - BodyPart object to be added
      • x400_mt_msgaddmessagebody

        public static int x400_mt_msgaddmessagebody​(MTMessage mtmessage_obj,
                                                    com.isode.x400api.Message fw_message_obj)
        Wrapper to JNI Native call to X400mtMsgAddMessageBody()
        Parameters:
        mtmessage_obj - Message object
        fw_message_obj - Message object to be added as BodyPart
      • x400_mt_msgaddmessagebodywtype

        public static int x400_mt_msgaddmessagebodywtype​(MTMessage mtmessage_obj,
                                                         com.isode.x400api.Message fw_message_obj,
                                                         int type)
        Wrapper to JNI Native call to X400mtMsgAddMessageBody()
        Parameters:
        mtmessage_obj - Message object
        fw_message_obj - Message object to be added as BodyPart
        type - Bodypart type (X400_T_MESSAGE)
      • x400_mt_msggetattachment

        public static int x400_mt_msggetattachment​(MTMessage mtmessage_obj,
                                                   int number,
                                                   java.lang.StringBuffer value,
                                                   byte[] binarydata)
        Wrapper to JNI Native call to X400mtMsgGetAttachment()
        Parameters:
        mtmessage_obj - Message object
        number - Bodypart number
        value - Buffer into which to put returned BodyPart string
        binarydata - data for binary attachments
      • x400_mt_msggetbodypart

        public static int x400_mt_msggetbodypart​(MTMessage mtmessage_obj,
                                                 int number,
                                                 com.isode.x400api.BodyPart bp_obj)
        Wrapper to JNI Native call to X400mtMsgGetBodypart()
        Parameters:
        mtmessage_obj - Message object
        number - Bodypart number
        bp_obj - BodyPart object returned
      • x400_mt_msggetmessagebody

        public static int x400_mt_msggetmessagebody​(MTMessage mtmessage_obj,
                                                    int number,
                                                    com.isode.x400api.Message message_body_obj)
        Wrapper to JNI Native call to X400mtMsgGetMessageBody() Returns a message from the specified body part
        Parameters:
        mtmessage_obj - Message object
        number - Bodypart number
        message_body_obj - Message object body part
      • x400_mt_setintdefault

        public static int x400_mt_setintdefault​(com.isode.x400api.Session session_obj,
                                                int paramtype,
                                                int value)
        Wrapper to JNI Native call to X400mtSetIntDefault()
        Parameters:
        session_obj - Session object from MTOpen
        paramtype - Type of parameter to be returned
        value - Parameter value to set
      • x400_mt_setstrdefault

        public static int x400_mt_setstrdefault​(com.isode.x400api.Session session_obj,
                                                int paramtype,
                                                java.lang.String value,
                                                int len)
        Wrapper to JNI Native call to X400mtSetStrDefault()
        Parameters:
        session_obj - Session object from MTOpen
        paramtype - Type of parameter to be returned
        value - Parameter value to set
        len - Length of string
      • x400_mt_wait

        public static int x400_mt_wait​(com.isode.x400api.Session session_obj,
                                       int seconds)
        Wrapper to JNI Native call to X400mtWait()
        Parameters:
        session_obj - Session object from MTOpen
        seconds - Seconds to wait
      • x400_mt_msgcountrecip

        public static int x400_mt_msgcountrecip​(MTMessage mtmessage_obj,
                                                int type)
        Wrapper to JNI Native call to X400MsgCountRecip()
        Parameters:
        mtmessage_obj - MTMessage object
        type - Type of address to count
      • x400_mt_DLexphistnew

        public static int x400_mt_DLexphistnew​(MTMessage mtmessage_obj,
                                               com.isode.x400api.DLExpHist dl_exp_hist_obj)
        Wrapper to JNI Native call to X400mtDLExpHistNew()
        Parameters:
        mtmessage_obj - Message object
        dl_exp_hist_obj - DL Expansion History object
      • x400_mt_DLexphistget

        public static int x400_mt_DLexphistget​(MTMessage mtmessage_obj,
                                               int entry,
                                               com.isode.x400api.DLExpHist dl_exp_hist_obj)
        Wrapper to JNI Native call to X400mtDLExpHistGet()
        Parameters:
        mtmessage_obj - Message object
        entry - DL exp hist object reference
        dl_exp_hist_obj - DL Expansion History object
      • x400_mt_traceinfonew

        public static int x400_mt_traceinfonew​(MTMessage mtmessage_obj,
                                               com.isode.x400api.Traceinfo traceinfo_obj,
                                               int type)
        Wrapper to JNI Native call to X400mtTraceInfoNew()
        Parameters:
        mtmessage_obj - Message object
        traceinfo_obj - Traceinfo object
        type - Traceinfo object type either X400_TRACE_INFO or X400_SUBJECT_TRACE_INFO
      • x400_mt_traceinfoget

        public static int x400_mt_traceinfoget​(MTMessage mtmessage_obj,
                                               int entry,
                                               com.isode.x400api.Traceinfo traceinfo_obj,
                                               int type)
        Wrapper to JNI Native call to X400mttraceinfoGet()
        Parameters:
        mtmessage_obj - Message object
        entry - trace info object reference
        traceinfo_obj - traceinfo object
        type - traceinfo object type X400_TRACE_INFO or X400_SUBJECT_TRACE_INFO
      • x400_mt_internaltraceinfonew

        public static int x400_mt_internaltraceinfonew​(MTMessage mtmessage_obj,
                                                       com.isode.x400api.InternalTraceinfo internaltraceinfo_obj)
        Wrapper to JNI Native call to X400mtInternalTraceInfoNew()
        Parameters:
        mtmessage_obj - Message object
        internaltraceinfo_obj - InternalTraceinfo object
      • x400_mt_internaltraceinfoget

        public static int x400_mt_internaltraceinfoget​(MTMessage mtmessage_obj,
                                                       int entry,
                                                       com.isode.x400api.InternalTraceinfo internaltraceinfo_obj)
        Wrapper to JNI Native call to X400mttraceinfoGet()
        Parameters:
        mtmessage_obj - Message object
        entry - trace info object reference
        internaltraceinfo_obj - internal traceinfo object
      • x400_mt_redihistnewenv

        public static int x400_mt_redihistnewenv​(MTMessage mtmessage_obj,
                                                 com.isode.x400api.RediHist redihist_obj)
        Wrapper to JNI Native call to RediHistNew()
        Parameters:
        mtmessage_obj - Message object
        redihist_obj - Redirection History object
      • x400_mt_redihistgetenv

        public static int x400_mt_redihistgetenv​(MTMessage mtmessage_obj,
                                                 int entry,
                                                 com.isode.x400api.RediHist redihist_obj)
        Wrapper to JNI Native call to RediHistGet()
        Parameters:
        mtmessage_obj - Message object
        entry - Redirection History object reference
        redihist_obj - Redirection History object
      • x400_mt_oranddlnew

        public static int x400_mt_oranddlnew​(MTMessage mtmessage_obj,
                                             com.isode.x400api.ORandDL oranddl_obj)
        Wrapper to JNI Native call to X400mtORandDLNew()
        Parameters:
        mtmessage_obj - Message object
        oranddl_obj - ORandDL object
      • x400_mt_oranddlget

        public static int x400_mt_oranddlget​(MTMessage mtmessage_obj,
                                             int entry,
                                             com.isode.x400api.ORandDL oranddl_obj)
        Wrapper to JNI Native call to X400mtORandDLGet()
        Parameters:
        mtmessage_obj - Message object
        entry - oranddl object reference
        oranddl_obj - oranddl object
      • x400_mt_pssnew

        public static int x400_mt_pssnew​(MTMessage mtmessage_obj,
                                         com.isode.x400api.PSS pss_obj,
                                         int type)
        Wrapper to JNI Native call to X400mtPSSNew()
        Parameters:
        mtmessage_obj - Message object
        pss_obj - PSS object
        type - Printable String Syntax type. X400_S_HANDLING_INSTRUCTIONS / X400_S_MESSAGE_INSTRUCTIONS / X400_S_DIST_CODES_SIC
      • x400_mt_pssget

        public static int x400_mt_pssget​(MTMessage mtmessage_obj,
                                         int entry,
                                         com.isode.x400api.PSS pss_obj,
                                         int type)
        Wrapper to JNI Native call to X400mtPSSGet()
        Parameters:
        mtmessage_obj - Message object
        entry - PSS object reference
        pss_obj - PSS object
        type - Printable String Syntax type. X400_S_HANDLING_INSTRUCTIONS / X400_S_MESSAGE_INSTRUCTIONS / X400_S_DIST_CODES_SIC
      • x400_mt_alinew

        public static int x400_mt_alinew​(MTMessage mtmessage_obj,
                                         com.isode.x400api.ALI ali_obj)
        Wrapper to JNI Native call to X400mtALINew()
        Parameters:
        mtmessage_obj - Message object
        ali_obj - ALI object
      • x400_mt_aliget

        public static int x400_mt_aliget​(MTMessage mtmessage_obj,
                                         int entry,
                                         com.isode.x400api.ALI ali_obj)
        Wrapper to JNI Native call to X400mtALIGet()
        Parameters:
        mtmessage_obj - Message object
        entry - ALI object reference
        ali_obj - ALI object
      • x400_mt_otherrecipnew

        public static int x400_mt_otherrecipnew​(MTMessage mtmessage_obj,
                                                com.isode.x400api.OtherRecip otherrecip_obj)
        Wrapper to JNI Native call to X400mtOtherRecipNew()
        Parameters:
        mtmessage_obj - Message object
        otherrecip_obj - OtherRecip object
      • x400_mt_otherrecipget

        public static int x400_mt_otherrecipget​(MTMessage mtmessage_obj,
                                                int entry,
                                                com.isode.x400api.OtherRecip otherrecip_obj)
        Wrapper to JNI Native call to X400mtOtherRecipGet()
        Parameters:
        mtmessage_obj - Message object
        entry - otherrecip object reference
        otherrecip_obj - OtherRecip object
      • x400_mt_distfieldnew

        public static int x400_mt_distfieldnew​(MTMessage mtmessage_obj,
                                               com.isode.x400api.DistField distfield_obj)
        Wrapper to JNI Native call to X400mtDistFieldNew()
        Parameters:
        mtmessage_obj - Message object
        distfield_obj - DistField object
      • x400_mt_distfieldget

        public static int x400_mt_distfieldget​(MTMessage mtmessage_obj,
                                               int entry,
                                               com.isode.x400api.DistField distfield_obj)
        Wrapper to JNI Native call to X400mtDistFieldGet()
        Parameters:
        mtmessage_obj - Message object
        entry - distfield object reference
        distfield_obj - DistField object
      • x400_mt_setcontentoctets

        public static int x400_mt_setcontentoctets​(MTMessage mtmessage_obj,
                                                   byte[] binarydata)
        Wrapper to JNI Native call to X400mtSetContentOctets()
        Parameters:
        mtmessage_obj - Message object
        binarydata - Byte array with the message content
      • x400_mt_acp127respnew

        public static int x400_mt_acp127respnew​(MTMessage msg_obj,
                                                com.isode.x400api.ACP127Resp acp127resp_obj)
        Create a P772 ACP127 Response object.
        Parameters:
        msg_obj - Message object
        acp127resp_obj - ACP127Resp object
      • x400_mt_acp127respget

        public static int x400_mt_acp127respget​(MTMessage msg_obj,
                                                com.isode.x400api.ACP127Resp acp127resp_obj)
        Get the ACP127 Response object from a recipient
        Parameters:
        msg_obj - Recipient object
        acp127resp_obj - ACP127Resp object