edu.nyu.cs.pdsg.switchboard.sbrpc
Class SbRpcLayer

java.lang.Object
  extended byedu.nyu.cs.pdsg.switchboard.SbStatus
      extended byedu.nyu.cs.pdsg.switchboard.SbLayer
          extended byedu.nyu.cs.pdsg.switchboard.sbrpc.SbRpcLayer
All Implemented Interfaces:
SbAsyncTransportClient, SbAsyncTransportProvider, SbAsyncTransportRecipient, SbClient, SbLayerable, SbProvider
Direct Known Subclasses:
SbRpcStack

public class SbRpcLayer
extends SbLayer


Nested Class Summary
(package private)  class SbRpcLayer.SbRpcLayerThread
           
 
Field Summary
(package private)  java.lang.Object incallInterface
           
(package private)  java.lang.Object IncallProxy
           
(package private)  SbMux mux
           
(package private)  ProxyPackage outcallProxyPackage
           
(package private)  SbRpcLayer.SbRpcLayerThread rpcThread
           
 
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
SbRpcLayer(SbMux _mux)
           
 
Method Summary
 void addIncall(java.io.Serializable obj)
          NEED TO RUN CHECK TO SEE IF obj IMPLEMENTS INTERFACES BESIDES SERIALIZABLE
 java.lang.String getLayerType()
           
 java.lang.Object getOutcallProxy()
           
 boolean isOutcallProxyAvailable()
           
 void providerReady()
          called when provider is ready
 void run()
           
 
Methods inherited from class edu.nyu.cs.pdsg.switchboard.SbLayer
_close, behavesLike, close, closeQuiet, deliver, finalize, find, getProviderException, getProviderStackTrace, getProviderStatus, getTransportName, handleEvent, handleEvent, init, instanceOf, isKindOf, isOpen, isReady, providerStatusString, recipientReady, sendDown, sendUp, serialize, setClient, setEventHandler, setProvider, setProviderStatus, 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
 

Field Detail

IncallProxy

java.lang.Object IncallProxy

outcallProxyPackage

ProxyPackage outcallProxyPackage

mux

SbMux mux

incallInterface

java.lang.Object incallInterface

rpcThread

SbRpcLayer.SbRpcLayerThread rpcThread
Constructor Detail

SbRpcLayer

public SbRpcLayer(SbMux _mux)
Method Detail

providerReady

public void providerReady()
Description copied from interface: SbClient
called when provider is ready

Specified by:
providerReady in interface SbClient
Overrides:
providerReady in class SbLayer

addIncall

public void addIncall(java.io.Serializable obj)
NEED TO RUN CHECK TO SEE IF obj IMPLEMENTS INTERFACES BESIDES SERIALIZABLE


run

public void run()

isOutcallProxyAvailable

public boolean isOutcallProxyAvailable()

getOutcallProxy

public java.lang.Object getOutcallProxy()

getLayerType

public java.lang.String getLayerType()
Overrides:
getLayerType in class SbLayer


Copyright (c) 2002-2003 New York University RLAB