edu.nyu.cs.pdsg.switchboard
Class SbStreamsStack

java.lang.Object
  extended byedu.nyu.cs.pdsg.switchboard.SbStatus
      extended byedu.nyu.cs.pdsg.switchboard.SbLayer
          extended byedu.nyu.cs.pdsg.switchboard.clientstreams.SbClientStreamsLayer
              extended byedu.nyu.cs.pdsg.switchboard.SbStreamsStack
All Implemented Interfaces:
SbAsyncTransportClient, SbAsyncTransportProvider, SbAsyncTransportRecipient, SbClient, SbLayerable, SbProvider

public class SbStreamsStack
extends SbClientStreamsLayer


Field Summary
 
Fields inherited from class edu.nyu.cs.pdsg.switchboard.clientstreams.SbClientStreamsLayer
 
Fields inherited from class edu.nyu.cs.pdsg.switchboard.SbLayer
client, createStackTrace, eventHandler, provider, recipient
 
Fields inherited from class edu.nyu.cs.pdsg.switchboard.SbStatus
STATUS_CLOSED, STATUS_LIVE, STATUS_PARTNER_CLOSED, STATUS_RECOVERABLE, STATUS_UNRECOVERABLE
 
Constructor Summary
SbStreamsStack(SbAsyncTransportProvider _below)
           
 
Method Summary
static SbStreamsStack build(java.net.Socket _sock, java.lang.String canonicalName, java.security.KeyPair keyPair, Authorizer authorizer, Credentials credentials, long livenessTimeDiff, boolean isClient, SbEventHandler eventHandler)
           
 void close()
           
 
Methods inherited from class edu.nyu.cs.pdsg.switchboard.clientstreams.SbClientStreamsLayer
_close, clientStreamsSendDown, deliver, getInputStream, getLayerType, getOutputStream, init, providerReady, setProviderStatus
 
Methods inherited from class edu.nyu.cs.pdsg.switchboard.SbLayer
behavesLike, closeQuiet, finalize, find, getProviderException, getProviderStackTrace, getProviderStatus, getTransportName, handleEvent, handleEvent, instanceOf, isKindOf, isOpen, isReady, providerStatusString, recipientReady, sendDown, sendEventUp, sendUp, serialize, setClient, setEventHandler, setProvider, setProviderStatus, setProviderStatusSend, setRecipient, toShortString, toString, unserialize, write
 
Methods inherited from class edu.nyu.cs.pdsg.switchboard.SbStatus
statusString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SbStreamsStack

public SbStreamsStack(SbAsyncTransportProvider _below)
Method Detail

close

public void close()
Specified by:
close in interface SbProvider
Overrides:
close in class SbLayer

build

public static SbStreamsStack build(java.net.Socket _sock,
                                   java.lang.String canonicalName,
                                   java.security.KeyPair keyPair,
                                   Authorizer authorizer,
                                   Credentials credentials,
                                   long livenessTimeDiff,
                                   boolean isClient,
                                   SbEventHandler eventHandler)


Copyright (c) 2002-2003 New York University RLAB