org.hfbk.vis.mcp.VisMCP Class Reference

List of all members.

Public Member Functions

 VisMCP ()

Static Public Member Functions

static void main (String[] args)

Package Functions

Panel buildPanel ()
String dispatch (String command)

Package Attributes

Frame frame = new Frame("Vis/MCP")
DatagramSocket socket = null
DatagramPacket paket = null
CopyOnWriteArrayList< SocketAddress > clients = new CopyOnWriteArrayList<SocketAddress>()
final List clientLister = new List(5)

Static Package Attributes

static int clientport = 7778
static int sendport = 7777
static int TIMEOUT = 1000

Detailed Description

Definition at line 20 of file VisMCP.java.


Constructor & Destructor Documentation

org.hfbk.vis.mcp.VisMCP.VisMCP (  ) 

open a VisMCP window ready to use.

Definition at line 36 of file VisMCP.java.

References org.hfbk.vis.mcp.VisMCP.buildPanel(), org.hfbk.vis.mcp.VisMCP.clientLister, org.hfbk.vis.mcp.VisMCP.clients, org.hfbk.vis.mcp.VisMCP.frame, org.hfbk.vis.mcp.VisMCP.paket, org.hfbk.vis.mcp.VisMCP.sendport, org.hfbk.vis.mcp.VisMCP.socket, and org.hfbk.vis.mcp.VisMCP.TIMEOUT.

Referenced by org.hfbk.vis.mcp.VisMCP.main().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Function Documentation

Panel org.hfbk.vis.mcp.VisMCP.buildPanel (  )  [package]

buills the VisMCP Panel, consisting of:

-a list offering currently active clients to select as command targets -a output area to show client responses -a input field for issuing commands to the clients.

Definition at line 90 of file VisMCP.java.

References org.hfbk.vis.mcp.VisMCP.clientLister, and org.hfbk.vis.mcp.VisMCP.dispatch().

Referenced by org.hfbk.vis.mcp.VisMCP.VisMCP().

Here is the call graph for this function:

Here is the caller graph for this function:

String org.hfbk.vis.mcp.VisMCP.dispatch ( String  command  )  [package]

dispatch a given command string to all selected clients.

Definition at line 106 of file VisMCP.java.

References org.hfbk.vis.mcp.VisMCP.clientLister, org.hfbk.vis.mcp.VisMCP.clients, org.hfbk.vis.mcp.VisMCP.paket, and org.hfbk.vis.mcp.VisMCP.socket.

Referenced by org.hfbk.vis.mcp.VisMCP.buildPanel().

Here is the caller graph for this function:

static void org.hfbk.vis.mcp.VisMCP.main ( String[]  args  )  [static]

Definition at line 128 of file VisMCP.java.

References org.hfbk.vis.mcp.VisMCP.VisMCP().

Here is the call graph for this function:


Member Data Documentation

Frame org.hfbk.vis.mcp.VisMCP.frame = new Frame("Vis/MCP") [package]

Definition at line 22 of file VisMCP.java.

Referenced by org.hfbk.vis.mcp.VisMCP.VisMCP().

int org.hfbk.vis.mcp.VisMCP.clientport = 7778 [static, package]

Definition at line 25 of file VisMCP.java.

int org.hfbk.vis.mcp.VisMCP.sendport = 7777 [static, package]

Definition at line 25 of file VisMCP.java.

Referenced by org.hfbk.vis.mcp.VisMCP.VisMCP().

int org.hfbk.vis.mcp.VisMCP.TIMEOUT = 1000 [static, package]

Definition at line 25 of file VisMCP.java.

Referenced by org.hfbk.vis.mcp.VisMCP.VisMCP().

DatagramSocket org.hfbk.vis.mcp.VisMCP.socket = null [package]

Definition at line 26 of file VisMCP.java.

Referenced by org.hfbk.vis.mcp.VisMCP.dispatch(), and org.hfbk.vis.mcp.VisMCP.VisMCP().

DatagramPacket org.hfbk.vis.mcp.VisMCP.paket = null [package]

Definition at line 27 of file VisMCP.java.

Referenced by org.hfbk.vis.mcp.VisMCP.dispatch(), and org.hfbk.vis.mcp.VisMCP.VisMCP().

CopyOnWriteArrayList<SocketAddress> org.hfbk.vis.mcp.VisMCP.clients = new CopyOnWriteArrayList<SocketAddress>() [package]

addresses of the currently active clients

Definition at line 30 of file VisMCP.java.

Referenced by org.hfbk.vis.mcp.VisMCP.dispatch(), and org.hfbk.vis.mcp.VisMCP.VisMCP().

final List org.hfbk.vis.mcp.VisMCP.clientLister = new List(5) [package]

Definition at line 33 of file VisMCP.java.

Referenced by org.hfbk.vis.mcp.VisMCP.buildPanel(), org.hfbk.vis.mcp.VisMCP.dispatch(), and org.hfbk.vis.mcp.VisMCP.VisMCP().


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 17:58:40 2009 for visclient by  doxygen 1.5.1