| Method from org.apache.bsf.debug.meta.JsContextStub Detail: |
public JsObject bind(String id) throws RemoteException {
ResultCell cell;
try {
cell = m_con.prepareOutgoingInvoke(this,DebugConstants.JS_CONTEXT_TID,DebugConstants.CX_BIND);
cell.writeObject(id);
return (JsObject)cell.waitForObject();
} catch (IOException ex) {
throw new RemoteException("Marshalling error", ex);
} catch (Exception ex) {
throw new RemoteException("Error at server", ex);
}
}
|
public JsCode getCode() throws RemoteException {
ResultCell cell;
try {
cell = m_con.prepareOutgoingInvoke(this,DebugConstants.JS_CONTEXT_TID,DebugConstants.CX_GET_CODE);
return (JsCode)cell.waitForObject();
} catch (IOException ex) {
throw new RemoteException("Marshalling error", ex);
} catch (Exception ex) {
throw new RemoteException("Error at server", ex);
}
}
|
public int getDepth() throws RemoteException {
ResultCell cell;
try {
cell = m_con.prepareOutgoingInvoke(this,DebugConstants.JS_CONTEXT_TID,DebugConstants.CX_GET_DEPTH);
return cell.waitForIntValue();
} catch (IOException ex) {
throw new RemoteException("Marshalling error", ex);
} catch (Exception ex) {
throw new RemoteException("Error at server", ex);
}
}
|
public JsEngine getEngine() throws RemoteException {
ResultCell cell;
try {
cell = m_con.prepareOutgoingInvoke(this,DebugConstants.JS_CONTEXT_TID,DebugConstants.CX_GET_ENGINE);
return (JsEngine)cell.waitForObject();
} catch (IOException ex) {
throw new RemoteException("Marshalling error", ex);
} catch (Exception ex) {
throw new RemoteException("Error at server", ex);
}
}
|
public int getLineNumber() throws RemoteException {
ResultCell cell;
try {
cell = m_con.prepareOutgoingInvoke(this,DebugConstants.JS_CONTEXT_TID,DebugConstants.CX_GET_LINE_NUMBER);
return cell.waitForIntValue();
} catch (IOException ex) {
throw new RemoteException("Marshalling error", ex);
} catch (Exception ex) {
throw new RemoteException("Error at server", ex);
}
}
|
public JsObject getScope() throws RemoteException {
ResultCell cell;
try {
cell = m_con.prepareOutgoingInvoke(this,DebugConstants.JS_CONTEXT_TID,DebugConstants.CX_GET_SCOPE);
return (JsObject)cell.waitForObject();
} catch (IOException ex) {
throw new RemoteException("Marshalling error", ex);
} catch (Exception ex) {
throw new RemoteException("Error at server", ex);
}
}
|
public String getSourceName() throws RemoteException {
ResultCell cell;
try {
cell = m_con.prepareOutgoingInvoke(this,DebugConstants.JS_CONTEXT_TID,DebugConstants.CX_GET_SOURCE_NAME);
return (String)cell.waitForValueObject();
} catch (IOException ex) {
throw new RemoteException("Marshalling error", ex);
} catch (Exception ex) {
throw new RemoteException("Error at server", ex);
}
}
|
public JsObject getThis() throws RemoteException {
ResultCell cell;
try {
cell = m_con.prepareOutgoingInvoke(this,DebugConstants.JS_CONTEXT_TID,DebugConstants.CX_GET_THIS);
return (JsObject)cell.waitForObject();
} catch (IOException ex) {
throw new RemoteException("Marshalling error", ex);
} catch (Exception ex) {
throw new RemoteException("Error at server", ex);
}
}
|