Class MTMessage

java.lang.Object
com.isode.x400mtapi.MTMessage

public class MTMessage extends Object
Provides the Message class used by the X.400 class. Hold message information to pass across the API in an opaque manner.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the length of attachment returned from the most recent GetAttachment call which returned a binary attachment.
    int
    Returns the type of attachment returned from the most recent GetAttachment call.
    int
    Returns the integer value from a call to the most recent GetIntParam interface call.
    int
    Returns the number of recipient from the most recent successful msMsgCountRecip call.
    int
    Returns the type of object obtained from most recent MsgGet() call.
    static void
    main(String[] args)
    The main program A test method only.

    Methods inherited from class java.lang.Object

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

    • MTMessage

      public MTMessage()
  • Method Details

    • GetType

      public int GetType()
      Returns the type of object obtained from most recent MsgGet() call. Can be X400_MSG_MESSAGE, X400_MSG_REPORT, X400_MSG_PROBE
    • GetIntValue

      public int GetIntValue()
      Returns the integer value from a call to the most recent GetIntParam interface call.
    • GetAttType

      public int GetAttType()
      Returns the type of attachment returned from the most recent GetAttachment call.
    • GetAttLen

      public int GetAttLen()
      Returns the length of attachment returned from the most recent GetAttachment call which returned a binary attachment.
    • GetNumRecips

      public int GetNumRecips()
      Returns the number of recipient from the most recent successful msMsgCountRecip call.
    • main

      public static void main(String[] args)
      The main program A test method only.