summaryrefslogtreecommitdiff
path: root/ACE/apps/JAWS3/small/SS_State_PARSE.h
blob: b20c27b13f0ffc24a2301634d4e837026940bea6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* -*- c++ -*- */
#ifndef TERA_SS_STATE_PARSE_H
#define TERA_SS_STATE_PARSE_H

#include "ace/Singleton.h"

#include "jaws3/Protocol_Handler.h"

class TeraSS_State_PARSE : public JAWS_Protocol_State
{
public:
  int service (JAWS_Event_Completer *, void *data);

  JAWS_Protocol_State * transition ( const JAWS_Event_Result &result
                                   , void *data
                                   , void *act
                                   );

  static JAWS_Protocol_State * instance ()
  {
    return ACE_Singleton<TeraSS_State_PARSE, ACE_SYNCH_MUTEX>::instance ();
  }
};

#endif /* TERA_SS_STATE_PARSE_H */