KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnode > Made > TIR > Impl > StateKindImpl


1 /* $Id: StateKindImpl.java,v 1.2 2004/05/20 14:23:52 bures Exp $ */
2 package SOFA.SOFAnode.Made.TIR.Impl;
3 import java.rmi.RemoteException JavaDoc;
4 import java.rmi.server.UnicastRemoteObject JavaDoc;
5
6 import SOFA.SOFAnode.Made.TIR.StateKind;
7
8 public class StateKindImpl extends UnicastRemoteObject JavaDoc implements StateKind {
9   int stKind;
10   public StateKindImpl(int sk) throws RemoteException JavaDoc {
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