com.isode.x400api
Class MSMessage

java.lang.Object
  extended by com.isode.x400api.MSMessage

public class MSMessage
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
MSMessage()
           
 
Method Summary
 int GetAttLen()
          Returns the length of attachment returned from the most recent GetAttachment call which returned a binary attachment.
 int GetAttType()
          Returns the type of attachment returned from the most recent GetAttachment call.
 int GetIntValue()
          Returns the integer value from a call to the most recent GetIntParam interface call.
 int GetNumRecips()
          Returns the number of recipient from the most recent successful msMsgCountRecip call.
 int GetType()
          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 Detail

MSMessage

public MSMessage()
Method Detail

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.