Add missing license headers to packetcable-driver state
[packetcable.git] / packetcable-driver / src / main / java / org / pcmm / state / IStateful.java
1 /*
2  * Copyright (c) 2014 Cable Television Laboratories, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.pcmm.state;
10
11 /**
12  * <p>
13  * Each stateful server should implement this interface, to be able to save and
14  * retrieve clients' state
15  * </p>
16  *
17  *
18  *
19  */
20 public interface IStateful {
21
22     /**
23      * records the collected client state
24      */
25     void recordState();
26
27     /**
28      *
29      * @return recorded state.
30      */
31     IState getRecoredState();
32
33 }