ome.services.blitz
Class Router

java.lang.Object
  extended by ome.services.blitz.Router

public class Router
extends Object

Wrapper around a call to 'glacier2router' to permit Java control over the process.

Since:
3.0-Beta3
Author:
Josh Moore, josh at glencoesoftware.com

Constructor Summary
Router()
           
 
Method Summary
 void allowAdministration()
           
 void setClientEndpoints(String host, int port)
           
 void setPermissionsVerifier(String host, int port)
           
 void setServerEndpoints(String host, int port)
           
 void setSessionManager(String host, int port)
           
 void setTimeout(int timeout)
           
 boolean shutdown(Ice.Communicator ic)
          Uses the administrative interface for the Glacier2 router to call AdminPrx.shutdown().
 int start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Router

public Router()
Method Detail

allowAdministration

public void allowAdministration()

setClientEndpoints

public void setClientEndpoints(String host,
                               int port)

setServerEndpoints

public void setServerEndpoints(String host,
                               int port)

setSessionManager

public void setSessionManager(String host,
                              int port)

setPermissionsVerifier

public void setPermissionsVerifier(String host,
                                   int port)

setTimeout

public void setTimeout(int timeout)

start

public int start()

shutdown

public boolean shutdown(Ice.Communicator ic)
Uses the administrative interface for the Glacier2 router to call AdminPrx.shutdown(). This method should not throw an exception under any circumstances.



OmeroJava Api

Version: Beta-4.2.0-r7571-b29

Copyright © 2009 The University of Dundee. All Rights Reserved.