summaryrefslogtreecommitdiff
path: root/ACE/apps/JAWS3/small/SS_State_ERROR.h
blob: 7ee7f3ee7c348cdbf9fc9d07d63d8cbbd94a726e (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
26
/* -*- c++ -*- */
#ifndef TERA_SS_STATE_ERROR_H
#define TERA_SS_STATE_ERROR_H

#include "ace/Singleton.h"

#include "jaws3/Protocol_Handler.h"

class TeraSS_State_ERROR : 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 (void)
  {
    return ACE_Singleton<TeraSS_State_ERROR, ACE_SYNCH_MUTEX>::instance ();
  }
};

#endif /* TERA_SS_STATE_ERROR_H */