Main Page | Packages | Class Hierarchy | Compound List | Compound Members

de.stz.bt.fnd.datapoints.types.FND_MeasurePointImpl Class Reference

Inheritance diagram for de.stz.bt.fnd.datapoints.types.FND_MeasurePointImpl:

de.stz.bt.fnd.datapoints.FND_DataPoint de.stz.bt.framework.DataPoint List of all members.

Public Member Functions

 FND_MeasurePointImpl (String dp_id)
byte getDp_type ()
FND_Datagram handleCMDDatagram (FND_Datagram dgram)
void handleRSPDatagram (FND_Datagram dgram)
FND_Datagram handleUSMDatagram (FND_Datagram dgram) throws Exception
void handleACKDatagram (FND_Datagram dgram)

Detailed Description

Implementation of a FND Measurepoint (Messpunkt FND 1.0 Spec. Page 42)

Author:
J. Seitter
Version:
Id
FND_MeasurePointImpl.java,v 1.4 2004/11/12 09:08:15 jseitter Exp


Member Function Documentation

byte de.stz.bt.fnd.datapoints.types.FND_MeasurePointImpl.getDp_type  )  [virtual]
 

Returns:
Each Datapoint has to implement the getDp_Type and return the correct constant from FND_DataPoint

Implements de.stz.bt.fnd.datapoints.FND_DataPoint.

00061                            {
00062     // TODO Auto-generated method stub
00063     return 0;
00064   }

void de.stz.bt.fnd.datapoints.types.FND_MeasurePointImpl.handleACKDatagram FND_Datagram  dgram  )  [virtual]
 

Parameters:
dgram 
Exceptions:
Exception 

Implements de.stz.bt.fnd.datapoints.FND_DataPoint.

00121                                                     {
00122     // TODO Auto-generated method stub
00123     logger.debug("inside DP handleACKdatagram");
00124     this.unlockDP();
00125     
00126   }

FND_Datagram de.stz.bt.fnd.datapoints.types.FND_MeasurePointImpl.handleCMDDatagram FND_Datagram  dgram  )  [virtual]
 

Parameters:
dgram 
Returns:
the result datagram
Exceptions:
Exception 

Implements de.stz.bt.fnd.datapoints.FND_DataPoint.

00069                                                             {
00070     // TODO Auto-generated method stub
00071     logger.debug("inside DP handleCMDdatagram");
00072     this.unlockDP();
00073     return dgram;
00074   }

void de.stz.bt.fnd.datapoints.types.FND_MeasurePointImpl.handleRSPDatagram FND_Datagram  dgram  )  [virtual]
 

Parameters:
dgram 
Exceptions:
Exception 

Implements de.stz.bt.fnd.datapoints.FND_DataPoint.

00079                                                     {
00080     // TODO Auto-generated method stub
00081     logger.debug("inside DP handleRSPdatagram");
00082     this.unlockDP();
00083     
00084   }

FND_Datagram de.stz.bt.fnd.datapoints.types.FND_MeasurePointImpl.handleUSMDatagram FND_Datagram  dgram  )  throws Exception [virtual]
 

Parameters:
dgram 
Returns:
the result datagram
Exceptions:
Exception 

Implements de.stz.bt.fnd.datapoints.FND_DataPoint.

00089                                                                              {
00090 
00091     // copy the relevant part   
00092     byte tab_id = dgram.getOperationsCode()[1];
00093     byte fct_id = dgram.getOperationsCode()[0];
00094     
00095     // recycle the datagram as the response object !
00096     FND_Datagram result = dgram;
00097 
00098 
00099     switch (tab_id) {
00100       case 0 :
00101         this.invalidOperation();
00102         break;
00103       case 1 :
00104         switch (fct_id) {
00105           case 1 :
00106             this.operationU1(dgram);
00107             break;
00108           case 2 :
00109             this.invalidOperation();
00110             break;
00111         }
00112         break;
00113     }
00114 
00115     return dgram;
00116   }


The documentation for this class was generated from the following file:
Generated on Mon Nov 15 08:36:12 2004 for FND4J by doxygen 1.3.3