Mistake on this page? Email us
m2mtimerobserver.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 - 2021 Pelion. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  * Licensed under the Apache License, Version 2.0 (the License); you may
5  * not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
12  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #ifndef M2M_TIMER_OBSERVER_H
17 #define M2M_TIMER_OBSERVER_H
18 
24 {
25 public:
30  typedef enum {
31  Notdefined,
32  Registration,
33  NsdlExecution,
34  PMinTimer,
35  PMaxTimer,
36  Dtls,
37  QueueSleep,
38  RetryTimer,
39  BootstrapFlowTimer,
40  RegistrationFlowTimer,
41  StaggerWaitTimer,
42  DnsQueryFallback,
43  TypeNotUsed // Last item. Add new types above this!
44  }Type;
45 
50  virtual void timer_expired(M2MTimerObserver::Type type =
51  M2MTimerObserver::Notdefined) = 0;
52 };
53 
54 #endif // M2M_TIMER_OBSERVER_H
virtual void timer_expired(M2MTimerObserver::Type type=M2MTimerObserver::Notdefined)=0
Indicates that the timer has expired.
Type
Definition: m2mtimerobserver.h:30
Definition: m2mtimerobserver.h:23