textbender.a.r.page
Class Connections

java.lang.Object
  extended by Connections

@ThreadSafe
public final class Connections
extends Object

Collected communication links.


Constructor Summary
Connections(Spool s)
          Creates an instance of Connections.
 
Method Summary
 HostServiceRegistry hostServiceRegistry()
          A reference to the service registry of the desk daemon on the local host.
 void refresh()
          Refreshes all links, dropping and reforming them if dead.
 PRTransferCHub transferCHub()
          A client-side region-transfer hub.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Connections

Connections(Spool s)
Creates an instance of Connections.

Parameters:
s - spool for internal holds. When unwound, this instance will become disabled, and will release its internal holds. All holds are listener registrations with the desk daemon, which automatically cleans out dead listeners anyway, so a Spool0 is OK here.
Method Detail

transferCHub

public PRTransferCHub transferCHub()
A client-side region-transfer hub.


hostServiceRegistry

public HostServiceRegistry hostServiceRegistry()
A reference to the service registry of the desk daemon on the local host.

Returns:
reference to service registry; or null if the latest connection attempt failed

refresh

public void refresh()
             throws RemoteException
Refreshes all links, dropping and reforming them if dead. Page daemons ought to call this method as part of their initialization for each page visit or page refresh.

Throws:
RemoteException