org.apache.bsf.debug.util

Class Stub

Implemented Interfaces:
Remote, RemoteService
Known Direct Subclasses:
DebugManagerStub, JsCallbacksStub, JsContextStub, JsEngineStub, JsObjectStub

public class Stub
extends java.lang.Object
implements RemoteService

Field Summary

static Stub
NOT_FOUND
static Stub
UNDEFINED
protected SocketConnection
m_con
protected boolean
m_revoked
protected int
m_tid
protected int
m_uid

Constructor Summary

Stub(SocketConnection con, int tid, int uid)

Method Summary

static void
Init(SocketConnection con)
void
addListener(RemoteServiceListener l)
void
completeFuture(Object requester)
void
createFuture(Object requester)
boolean
equals(Object o)
SocketConnection
getConnection()
int
getTid()
int
getUid()
void
removeListener(RemoteServiceListener l)
void
revokeFuture(Object requester, Exception ex)
void
revoked()
void
suspendFuture(Object requester)
Stub
swizzle(int tid, int uid)

Field Details

NOT_FOUND

public static Stub NOT_FOUND

UNDEFINED

public static Stub UNDEFINED

m_con

protected SocketConnection m_con

m_revoked

protected boolean m_revoked

m_tid

protected int m_tid

m_uid

protected int m_uid

Constructor Details

Stub

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

Method Details

Init

public static void Init(SocketConnection con)

addListener

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

completeFuture

public void completeFuture(Object requester)
            throws RemoteException
Specified by:
completeFuture in interface RemoteService

createFuture

public void createFuture(Object requester)
            throws RemoteException
Specified by:
createFuture in interface RemoteService

equals

public boolean equals(Object o)

getConnection

public SocketConnection getConnection()

getTid

public int getTid()

getUid

public int getUid()

removeListener

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

revokeFuture

public void revokeFuture(Object requester,
                         Exception ex)
            throws Exception

revoked

public void revoked()

suspendFuture

public void suspendFuture(Object requester)
            throws RemoteException
Specified by:
suspendFuture in interface RemoteService

swizzle

public Stub swizzle(int tid,
                    int uid)