RFIDudpServer1Thread Class Reference

List of all members.

Public Member Functions

 RFIDudpServer1Thread () throws IOException
 RFIDudpServer1Thread (String name) throws IOException
void run ()
void Test ()
void sendMail (String mailServer, String recipient, String username)
void send (BufferedReader in, BufferedWriter out, String s)
void send (BufferedWriter out, String s)

Public Attributes

boolean mailedFlag = true

Protected Member Functions

String getData (String FromPacket)

Protected Attributes

DatagramSocket socket = null
BufferedReader in = null
HashMap ShoppingCart = null

Private Member Functions

String MakeReceiptBody (String username)
String GetCurrencyString (float total, int fieldwidth)
void AddToCart (String LineArray[])
void RmFromCart (String LineArray[])
float getFloatVal (String str)

Detailed Description

Definition at line 38 of file RFIDudpServer1Thread.java.


Constructor & Destructor Documentation

RFIDudpServer1Thread.RFIDudpServer1Thread  )  throws IOException
 

Definition at line 45 of file RFIDudpServer1Thread.java.

RFIDudpServer1Thread.RFIDudpServer1Thread String  name  )  throws IOException
 

Definition at line 49 of file RFIDudpServer1Thread.java.

References ShoppingCart, and socket.


Member Function Documentation

void RFIDudpServer1Thread.AddToCart String  LineArray[]  )  [private]
 

Definition at line 339 of file RFIDudpServer1Thread.java.

Referenced by getData().

String RFIDudpServer1Thread.GetCurrencyString float  total,
int  fieldwidth
[private]
 

Definition at line 306 of file RFIDudpServer1Thread.java.

String RFIDudpServer1Thread.getData String  FromPacket  )  [protected]
 

Definition at line 97 of file RFIDudpServer1Thread.java.

References AddToCart(), in, mailedFlag, RmFromCart(), and sendMail().

Referenced by run().

Here is the call graph for this function:

float RFIDudpServer1Thread.getFloatVal String  str  )  [private]
 

Definition at line 348 of file RFIDudpServer1Thread.java.

String RFIDudpServer1Thread.MakeReceiptBody String  username  )  [private]
 

Definition at line 260 of file RFIDudpServer1Thread.java.

References ItemStruct.Name, and ItemStruct.Price.

void RFIDudpServer1Thread.RmFromCart String  LineArray[]  )  [private]
 

Definition at line 344 of file RFIDudpServer1Thread.java.

Referenced by getData().

void RFIDudpServer1Thread.run  ) 
 

Definition at line 68 of file RFIDudpServer1Thread.java.

References getData(), and socket.

Here is the call graph for this function:

void RFIDudpServer1Thread.send BufferedWriter  out,
String  s
 

Definition at line 328 of file RFIDudpServer1Thread.java.

void RFIDudpServer1Thread.send BufferedReader  in,
BufferedWriter  out,
String  s
 

Definition at line 315 of file RFIDudpServer1Thread.java.

void RFIDudpServer1Thread.sendMail String  mailServer,
String  recipient,
String  username
 

Definition at line 221 of file RFIDudpServer1Thread.java.

Referenced by getData().

void RFIDudpServer1Thread.Test  ) 
 

Definition at line 196 of file RFIDudpServer1Thread.java.


Member Data Documentation

BufferedReader RFIDudpServer1Thread.in = null [protected]
 

Definition at line 42 of file RFIDudpServer1Thread.java.

Referenced by getData().

boolean RFIDudpServer1Thread.mailedFlag = true
 

Definition at line 40 of file RFIDudpServer1Thread.java.

Referenced by getData().

HashMap RFIDudpServer1Thread.ShoppingCart = null [protected]
 

Definition at line 43 of file RFIDudpServer1Thread.java.

Referenced by RFIDudpServer1Thread().

DatagramSocket RFIDudpServer1Thread.socket = null [protected]
 

Definition at line 41 of file RFIDudpServer1Thread.java.

Referenced by RFIDudpServer1Thread(), and run().


The documentation for this class was generated from the following file:
Generated on Sun Apr 30 18:42:53 2006 for UDPserver by  doxygen 1.4.6-NO