org.xBaseJ
Class Message

java.lang.Object
  extended byorg.xBaseJ.Message

public class Message
extends Object


Constructor Summary
Message()
          creates a message class used by the client/server objects
Message(DataInputStream InStream)
          creates a message class used by the client/server objects
 
Method Summary
 int getCount()
           
 String getField(int pos)
           
 String getField(String ID)
           
 String getID(int i)
           
 void setException(String ID, String FieldData)
           
 void setField(String ID, String FieldData)
           
 void setHeader(String ID, String DBFName)
          set header information
 void write(DataOutputStream OutStream)
          writes to the queue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Message

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


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
xBaseJException - error conversing with server
Method Detail

write

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

Parameters:
OutStream - data output
Throws:
IOException - communication line error

setHeader

public void setHeader(String ID,
                      String DBFName)
set header information


setField

public void setField(String ID,
                     String FieldData)

setException

public void setException(String ID,
                         String FieldData)

getID

public String getID(int i)

getField

public String getField(String ID)
                throws xBaseJException
Throws:
xBaseJException

getField

public String getField(int pos)
                throws xBaseJException
Throws:
xBaseJException

getCount

public int getCount()


Copyright 1997-2007 American Coders Ltd. All Rights Reserved.