Interface StateConstants

All Known Subinterfaces:
All Known Implementing Classes:
IlaImpl, MirrorImpl, PLinkNode, PNode, PNodeSet, PState, RegistrarImpl, RequestParser, State, StateBuffer

public interface StateConstants

Constants representing the 4 primary state status types for nodes in the Ila system. These stati are non-overlapping. That is, they represent a partition over all possible states. (See the transition diagram in the StateBuffer class.)

Babak Farhang
See Also:
State, State.getStatus(), StateBuffer, Node.getState()

Field Summary
static int NF
          Not found status.
static int NK
          Not known state.
static int NV
          Not visited state.
static int OK
          Okay status.

Field Detail


public static final int OK
Okay status. The node exists: it has been visited successfully.

See Also:
Constant Field Values


public static final int NF
Not found status. The node cannot be found: it has been visited unsuccessfully.

See Also:
Constant Field Values


public static final int NV
Not visited state. The node is referenced by other nodes, but it has not yet been visited.

See Also:
Constant Field Values


public static final int NK
Not known state. No information is available about the node in the Ila system. This state is the complement of the other states defined here.

See Also:
Constant Field Values


Copyright (C) 2002 Babak Farhang

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.