org.apache.bsf.debug.meta

Class JsCodeStub

Implemented Interfaces:
JsCode, JsObject, Remote, RemoteService

public class JsCodeStub
extends JsObjectStub
implements JsCode

Field Summary

Fields inherited from class org.apache.bsf.debug.util.Stub

NOT_FOUND, UNDEFINED, m_con, m_revoked, m_tid, m_uid

Fields inherited from interface org.apache.bsf.debug.jsdi.JsObject

DONTDELETE, DONTENUM, EMPTY, INTERNAL, READONLY

Constructor Summary

JsCodeStub(SocketConnection con, int tid, int uid, boolean isFunction)

Method Summary

int[]
getLineNumbers()
Get array containing the line numbers that can have breakpoints placed on them.
String
getSourceName()
Get the name of the source (usually filename or URL) of the script.

Methods inherited from class org.apache.bsf.debug.meta.JsObjectStub

define, delete, delete, get, get, getClassName, getDefaultValue, getIds, getPrototype, getScope, has, has, hasInstance, isA, isFunction, isNotFound, isScript, isUndefined, put, put, setPrototype, setScope

Methods inherited from class org.apache.bsf.debug.util.Stub

Init, addListener, completeFuture, createFuture, equals, getConnection, getTid, getUid, removeListener, revokeFuture, revoked, suspendFuture, swizzle

Constructor Details

JsCodeStub

protected JsCodeStub(SocketConnection con,
                     int tid,
                     int uid,
                     boolean isFunction)

Method Details

getLineNumbers

public int[] getLineNumbers()
            throws RemoteException
Get array containing the line numbers that can have breakpoints placed on them.
Specified by:
getLineNumbers in interface JsCode


getSourceName

public String getSourceName()
            throws RemoteException
Get the name of the source (usually filename or URL) of the script.
Specified by:
getSourceName in interface JsCode