1 2 package SOFA.SOFAnode.Made.TIR.Impl; 3 import java.rmi.RemoteException ; 4 import java.rmi.server.UnicastRemoteObject ; 5 6 import SOFA.SOFAnode.Made.TIR.StateKind; 7 8 public class StateKindImpl extends UnicastRemoteObject implements StateKind { 9 int stKind; 10 public StateKindImpl(int sk) throws RemoteException { 11 super(); 12 stKind = sk; 13 } 14 15 public int value() { return stKind; } 16 17 public void toNormal() { stKind = StateKind.sk_normal; } 18 } 19 | Popular Tags |