edu.nyu.cs.pdsg.drbac
Class HomeSubscription

java.lang.Object
  extended byedu.nyu.cs.pdsg.switchboard.SimpleSbEventHandler
      extended byedu.nyu.cs.pdsg.drbac.HomeSubscription
All Implemented Interfaces:
java.lang.Runnable, SbClient, SbEventHandler, SbLayerable, java.io.Serializable

public class HomeSubscription
extends SimpleSbEventHandler
implements java.lang.Runnable

This class monitors the status of a delegation by keeping an open connection to the delegation's home wallet

See Also:
Serialized Form

Nested Class Summary
 class HomeSubscription.ProofChangedThread
           
 
Field Summary
private  java.io.DataInputStream dis
           
private  java.io.DataOutputStream dos
           
private  DelegationWrapper enclosingDelegation
           
private  java.io.InputStream is
           
private  java.io.OutputStream os
           
private  SbStreamsStack stack
           
 
Fields inherited from class edu.nyu.cs.pdsg.switchboard.SimpleSbEventHandler
 
Constructor Summary
(package private) HomeSubscription(DelegationWrapper dw)
           
 
Method Summary
 void handleEvent(SbProvider layer)
          implemens SbEventHandler
 void run()
           
protected  void subscribe()
           
 
Methods inherited from class edu.nyu.cs.pdsg.switchboard.SimpleSbEventHandler
amReady, providerReady, setTopOfStack
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stack

private SbStreamsStack stack

enclosingDelegation

private DelegationWrapper enclosingDelegation

os

private java.io.OutputStream os

is

private java.io.InputStream is

dos

private java.io.DataOutputStream dos

dis

private java.io.DataInputStream dis
Constructor Detail

HomeSubscription

HomeSubscription(DelegationWrapper dw)
Method Detail

run

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

subscribe

protected void subscribe()

handleEvent

public void handleEvent(SbProvider layer)
implemens SbEventHandler

Specified by:
handleEvent in interface SbClient
Overrides:
handleEvent in class SimpleSbEventHandler


Copyright (c) 2002-2003 New York University RLAB