RMIChessMoveImplpublic class RMIChessMoveImpl extends Object implements RMIChessMove, RemoteSource code from "Java Distributed Computing", by Jim Farley.
Class: RMIChessMoveImpl
Example: 6-19
Description: Server implementation of the RMI-based chess move object. |
Fields Summary |
---|
String | fromPos | String | toPos | boolean | checkFlag |
Constructors Summary |
---|
public RMIChessMoveImpl()
fromPos = null;
toPos = null;
checkFlag = false;
| public RMIChessMoveImpl(String from, String to, boolean ckFlag)
fromPos = from;
toPos = to;
checkFlag = ckFlag;
|
|