All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xBaseJ.Message

java.lang.Object
   |
   +----xBaseJ.Message

public class Message
extends Object

Constructor Index

 o Message()
creates a message class used by the client/server objects
 o Message(DataInputStream)
creates a message class used by the client/server objects

Method Index

 o getField(int)
 o getField(String)
 o getId()
 o setException(String, String)
 o setField(String, String)
 o setHeader(String, String)
set header information
 o write(DataOutputStream)
writes to the queue

Constructors

 o Message
 public Message()
creates a message class used by the client/server objects

 o Message
 public Message(DataInputStream InStream) throws IOException, xBaseJException
creates a message class used by the client/server objects

Parameters:
InStream - data input
Throws: IOException
communication line error
Throws: xBaseJException
error conversing with server

Methods

 o write
 public void write(DataOutputStream OutStream) throws IOException
writes to the queue

Parameters:
OutStream - data output
 o setHeader
 public void setHeader(String ID,
                       String DBFName)
set header information

 o setField
 public void setField(String ID,
                      String FieldData)
 o setException
 public void setException(String ID,
                          String FieldData)
 o getId
 public String getId()
 o getField
 public String getField(String ID) throws xBaseJException
 o getField
 public String getField(int pos) throws xBaseJException

All Packages  Class Hierarchy  This Package  Previous  Next  Index