uk.ac.rdg.resc.jstyx.interloper
Class StyxMon
java.lang.Object
uk.ac.rdg.resc.jstyx.interloper.StyxInterloper
uk.ac.rdg.resc.jstyx.interloper.StyxMon
- All Implemented Interfaces:
- InterloperListener
public class StyxMon
- extends StyxInterloper
TCPMon-like GUI application that displays all the messages going between
a Styx client and server. (i.e. a GUI version of the StyxInterloper)
- Author:
- Jon Blower
$Revision: 272 $
$Date: 2005-05-26 17:49:45 +0100 (Thu, 26 May 2005) $
$Log$
Revision 1.12 2005/05/26 16:49:45 jonblower
Minor bug fix (ensures Java 1.4 compatibility)
Revision 1.11 2005/05/25 16:37:09 jonblower
Deals with change of filename associated with a fid when creating a file
Revision 1.10 2005/05/05 16:57:38 jonblower
Updated MINA library to revision 168337 and changed code accordingly
Revision 1.9 2005/02/28 12:53:47 jonblower
Improved message filtering
Revision 1.8 2005/02/28 12:08:18 jonblower
Tidied up interaction between StyxInterloper and StyxMon
Revision 1.7 2005/02/26 10:00:24 jonblower
Removed redundant methods
Revision 1.6 2005/02/25 07:48:05 jonblower
Fixed bug with displaying filename in table
Revision 1.5 2005/02/24 17:53:13 jonblower
Added code to read args from command line
Revision 1.4 2005/02/24 11:23:32 jonblower
Handles filtering by filename correctly
Revision 1.3 2005/02/24 09:07:12 jonblower
Added code to support filtering by pop-up menu
Revision 1.1 2005/02/21 18:08:52 jonblower
Initial import
|
Constructor Summary |
StyxMon(int port,
java.lang.String serverHost,
int serverPort)
Creates a new instance of StyxMon |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StyxMon
public StyxMon(int port,
java.lang.String serverHost,
int serverPort)
throws java.io.IOException
- Creates a new instance of StyxMon
- Parameters:
port - The port on which this application will listenserverHost - The host of the remote Styx serverserverPort - The port of the remote Styx server
- Throws:
java.io.IOException - if the server process could not be started.
tMessageReceived
public void tMessageReceived(StyxMessage message)
- Required by the InterloperListener interface. Called when a Tmessage
arrives from a client
- Specified by:
tMessageReceived in interface InterloperListener- Overrides:
tMessageReceived in class StyxInterloper
rMessageSent
public void rMessageSent(StyxMessage message)
- Required by the InterloperListener interface. Called when an Rmessage
has been sent back to the client
- Specified by:
rMessageSent in interface InterloperListener- Overrides:
rMessageSent in class StyxInterloper
main
public static void main(java.lang.String[] args)
Copyright © 2004-2006 Reading e-Science Centre. All Rights Reserved.