org.apache.bsf.debug.meta
Class JsCodeStub

java.lang.Object
  extended by org.apache.bsf.debug.util.Stub
      extended by org.apache.bsf.debug.meta.JsObjectStub
          extended by org.apache.bsf.debug.meta.JsCodeStub
All Implemented Interfaces:
java.rmi.Remote, JsCode, JsObject, RemoteService

public class JsCodeStub
extends JsObjectStub
implements JsCode


Field Summary
 
Fields inherited from class org.apache.bsf.debug.util.Stub
m_con, m_revoked, m_tid, m_uid, NOT_FOUND, UNDEFINED
 
Fields inherited from interface org.apache.bsf.debug.jsdi.JsObject
DONTDELETE, DONTENUM, EMPTY, INTERNAL, READONLY
 
Constructor Summary
protected 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.
 java.lang.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
addListener, completeFuture, createFuture, equals, getConnection, getTid, getUid, Init, removeListener, revoked, revokeFuture, suspendFuture, swizzle
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.bsf.debug.jsdi.JsObject
define, delete, delete, get, get, getClassName, getDefaultValue, getIds, getPrototype, getScope, has, has, hasInstance, isFunction, isScript, put, put, setPrototype, setScope
 

Constructor Detail

JsCodeStub

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

getLineNumbers

public int[] getLineNumbers()
                     throws java.rmi.RemoteException
Get array containing the line numbers that can have breakpoints placed on them.

Specified by:
getLineNumbers in interface JsCode
Throws:
java.rmi.RemoteException

getSourceName

public java.lang.String getSourceName()
                               throws java.rmi.RemoteException
Get the name of the source (usually filename or URL) of the script.

Specified by:
getSourceName in interface JsCode
Throws:
java.rmi.RemoteException