org.apache.bsf.debug.util
Class Stub

java.lang.Object
  |
  +--org.apache.bsf.debug.util.Stub
All Implemented Interfaces:
java.rmi.Remote, RemoteService
Direct Known Subclasses:
DebugManagerStub, JsCallbacksStub, JsContextStub, JsEngineStub, JsObjectStub

public class Stub
extends java.lang.Object
implements RemoteService


Field Summary
protected  SocketConnection m_con
           
protected  boolean m_revoked
           
protected  int m_tid
           
protected  int m_uid
           
static Stub NOT_FOUND
           
static Stub UNDEFINED
           
 
Constructor Summary
Stub(SocketConnection con, int tid, int uid)
           
 
Method Summary
 void addListener(RemoteServiceListener l)
           
 void completeFuture(java.lang.Object requester)
           
 void createFuture(java.lang.Object requester)
           
 boolean equals(java.lang.Object o)
           
 SocketConnection getConnection()
           
 int getTid()
           
 int getUid()
           
static void Init(SocketConnection con)
           
 void removeListener(RemoteServiceListener l)
           
 void revoked()
           
 void revokeFuture(java.lang.Object requester, java.lang.Exception ex)
           
 void suspendFuture(java.lang.Object requester)
           
 Stub swizzle(int tid, int uid)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNDEFINED

public static Stub UNDEFINED

NOT_FOUND

public static Stub NOT_FOUND

m_tid

protected int m_tid

m_uid

protected int m_uid

m_revoked

protected boolean m_revoked

m_con

protected SocketConnection m_con
Constructor Detail

Stub

public Stub(SocketConnection con,
            int tid,
            int uid)
Method Detail

Init

public static void Init(SocketConnection con)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

getTid

public int getTid()

getUid

public int getUid()

revoked

public void revoked()

getConnection

public SocketConnection getConnection()

swizzle

public Stub swizzle(int tid,
                    int uid)

addListener

public void addListener(RemoteServiceListener l)
Specified by:
addListener in interface RemoteService

removeListener

public void removeListener(RemoteServiceListener l)
Specified by:
removeListener in interface RemoteService

createFuture

public void createFuture(java.lang.Object requester)
                  throws java.rmi.RemoteException
Specified by:
createFuture in interface RemoteService
java.rmi.RemoteException

suspendFuture

public void suspendFuture(java.lang.Object requester)
                   throws java.rmi.RemoteException
Specified by:
suspendFuture in interface RemoteService
java.rmi.RemoteException

completeFuture

public void completeFuture(java.lang.Object requester)
                    throws java.rmi.RemoteException
Specified by:
completeFuture in interface RemoteService
java.rmi.RemoteException

revokeFuture

public void revokeFuture(java.lang.Object requester,
                         java.lang.Exception ex)
                  throws java.lang.Exception
java.lang.Exception