ePOST API

rice.visualization.server
Class VisualizationServer

java.lang.Object
  extended by rice.visualization.server.VisualizationServer
All Implemented Interfaces:
java.lang.Runnable

public class VisualizationServer
extends java.lang.Object
implements java.lang.Runnable


Nested Class Summary
 class VisualizationServer.FreeDiskSpaceChecker
           
 class VisualizationServer.NetworkActivityChecker
           
 
Field Summary
protected  java.net.InetSocketAddress address
           
protected  RingCertificate cert
           
protected  java.util.Vector debugCommandHandlers
           
protected  Environment environment
           
protected  VisualizationServer.FreeDiskSpaceChecker FDSchecker
           
protected  java.security.KeyPair keypair
           
protected  Logger logger
           
protected  VisualizationServer.NetworkActivityChecker NAchecker
           
protected  PastryNode node
           
protected  java.lang.Object[] objects
           
protected  java.util.Vector panelCreators
           
protected  java.net.ServerSocket server
           
protected  StorageManager storage
           
protected  boolean willAcceptNewJars
           
protected  boolean willAcceptNewRestartCommandLine
           
 
Constructor Summary
VisualizationServer(java.net.InetSocketAddress address, PastryNode node, StorageManager storage, RingCertificate cert, java.lang.Object[] objects, Environment env)
           
 
Method Summary
 void addDebugCommandHandler(DebugCommandHandler handler)
           
protected  void addLeafSet(java.util.Hashtable handles)
           
 void addPanelCreator(PanelCreator creator)
           
protected  void addRoutingTable(java.util.Hashtable handles)
           
 java.net.InetSocketAddress getAddress()
           
protected  Data getData()
           
protected  void handleConnection(java.net.Socket socket)
           
protected  void handleUpdateJarRequest(UpdateJarRequest req, java.io.ObjectOutputStream oos)
           
 void run()
           
 boolean running()
           
protected  void setData(DataPanel panel, Data data)
           
 void setRestartCommand(java.lang.String string, java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

protected java.net.InetSocketAddress address

objects

protected java.lang.Object[] objects

panelCreators

protected java.util.Vector panelCreators

debugCommandHandlers

protected java.util.Vector debugCommandHandlers

server

protected java.net.ServerSocket server

node

protected PastryNode node

storage

protected StorageManager storage

willAcceptNewJars

protected boolean willAcceptNewJars

willAcceptNewRestartCommandLine

protected boolean willAcceptNewRestartCommandLine

NAchecker

protected VisualizationServer.NetworkActivityChecker NAchecker

FDSchecker

protected VisualizationServer.FreeDiskSpaceChecker FDSchecker

cert

protected RingCertificate cert

keypair

protected java.security.KeyPair keypair

environment

protected Environment environment

logger

protected Logger logger
Constructor Detail

VisualizationServer

public VisualizationServer(java.net.InetSocketAddress address,
                           PastryNode node,
                           StorageManager storage,
                           RingCertificate cert,
                           java.lang.Object[] objects,
                           Environment env)
Method Detail

addPanelCreator

public void addPanelCreator(PanelCreator creator)

addDebugCommandHandler

public void addDebugCommandHandler(DebugCommandHandler handler)

run

public void run()
Specified by:
run in interface java.lang.Runnable

getAddress

public java.net.InetSocketAddress getAddress()

handleConnection

protected void handleConnection(java.net.Socket socket)

handleUpdateJarRequest

protected void handleUpdateJarRequest(UpdateJarRequest req,
                                      java.io.ObjectOutputStream oos)
                               throws java.io.IOException
Throws:
java.io.IOException

addLeafSet

protected void addLeafSet(java.util.Hashtable handles)

addRoutingTable

protected void addRoutingTable(java.util.Hashtable handles)

getData

protected Data getData()

setData

protected void setData(DataPanel panel,
                       Data data)

setRestartCommand

public void setRestartCommand(java.lang.String string,
                              java.lang.String[] args)
Parameters:
string -
args -

running

public boolean running()

ePOST API

Copyright © 2001-2005 - Rice Pastry.