|
  
|
Appendix A |
|
|
The attached zip file contains all the souce code,
class files, and a readme.txt file. In addition the main source files are
included below. |
|
This package is composed of the following source files:
|
MGSInterface.java
- defines the MGS interface
|
MGSMessage.java
- The MGS message definition and methods
|
MGSCommand.java
- MGS command to force cycling of the MGS log file - untested
|
MGSService.java
- The actual MGS Service running as a java application
|
Profile.java
- Contains application profile information which is used to help identify
the message
|
MGS_test.java
- A client which will access the remote method logThis()
|
|
To Run this system you must:
- Unzip the file into an approriate classes directory
- Optionally, if you modify any of the MGS base files you must regenerate
the stub and skeleton files
rmic MGSService
- Start the RMI Registry
start rmiregistry (Win95/NT)
- Copy the class files to a location in the CLASSPATH. This includes the
MGSService_stub.class and MGSService_skel.class files output as
a results of running rmic.
- Start the MGS Service with 2 parameters, the first is the directory where
the MGS logs should be written and the second is how often the service should
check for new messages
start java MGSServer e:\javasrc\mgslog\ 14 (Win95/NT)
- Run the client
java MGS_test (Win95/NT)
|
|
|
If you have any Questions/Suggestions/Comments please e-mail me at:
twgerber@notes.up.com - Tom Gerber
|
|
  
|
| Return to Gerber Family
Home Page |