Package com.isode.x400mtapi
Class MTMessage
java.lang.Object
com.isode.x400mtapi.MTMessage
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 -
Method Summary
Modifier and TypeMethodDescriptionintReturns the length of attachment returned from the most recent GetAttachment call which returned a binary attachment.intReturns the type of attachment returned from the most recent GetAttachment call.intReturns the integer value from a call to the most recent GetIntParam interface call.intReturns the number of recipient from the most recent successful msMsgCountRecip call.intGetType()Returns the type of object obtained from most recent MsgGet() call.static voidThe main program A test method only.
-
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
The main program A test method only.
-