ESA JPIP server  0.1
jpip.h
Go to the documentation of this file.
1 #ifndef _JPIP_JPIP_H_
2 #define _JPIP_JPIP_H_
3 
4 
9 namespace jpip
10 {
11 
19  {
20  private:
22 
23  public:
24  enum {
28  PRECINCT = 0,
29 
34 
39 
43  TILE_DATA = 4,
44 
49 
54 
59  };
60 
64  static const char *GetName(int class_name);
65  };
66 
67 
73  class EOR
74  {
75  private:
76  EOR() {}
77 
78  public:
79  enum {
85  IMAGE_DONE = 1,
86 
91  WINDOW_DONE = 2,
92 
97  WINDOW_CHANGE = 3,
98 
104  BYTE_LIMIT_REACHED = 4,
105 
110  QUALITY_LIMIT_REACHED = 5,
111 
118  SESSION_LIMIT_REACHED = 6,
119 
126  RESPONSE_LIMIT_REACHED = 7,
127 
131  NON_SPECIFIED = 0xFF
132  };
133  };
134 
135 }
136 
137 #endif /* _JPIP_JPIP_H_ */
Class identifier for tile data-bins.
Definition: jpip.h:43
Class identifier for main header data-bins.
Definition: jpip.h:53
Class identifier for precinct data-bins.
Definition: jpip.h:28
Class identifier for meta-data data-bins.
Definition: jpip.h:58
Class identifier for extended tile data-bins.
Definition: jpip.h:48
EOR()
Definition: jpip.h:76
Class that contains all the definitions of the EOF messages defined for the JPIP protocol.
Definition: jpip.h:73
static const char * GetName(int class_name)
Returns a string with the name of the databin class name given,.
Definition: jpip.cc:7
DataBinClass()
Definition: jpip.h:21
Class that contains the definitions of all the data-bin classes defined for the JPIP protocol...
Definition: jpip.h:18
Class identifier for extended precinct data-bins.
Definition: jpip.h:33
Class identifier for tile header data-bins.
Definition: jpip.h:38
Set of classes related to the JPIP protocol, defined in the Part 9 of the JPEG2000 standard...
Definition: cache_model.h:13