|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.net.connect.RemoteObjectExtension
public class RemoteObjectExtension
extends the functionality of ConnectClient to support remote SAS/AF objects
Field Summary | |
---|---|
protected ConnectClient |
client
|
protected java.util.Properties |
properties
|
protected java.util.Hashtable |
recordTable
|
protected boolean |
remoteInited
|
protected RemoteObject |
remoteInstance
|
protected java.util.Hashtable |
remoteObjectTable
|
static java.lang.String |
resourceBundleName
Remote Object Exntension resource bundle name. |
static java.lang.String |
SERVERENCODING
Name of the property which defines the server encoding. |
static java.lang.String |
SERVERENCODING_DEFAULT
The default value of the SERVERENCODING property. |
static java.lang.String |
SERVERLISTVERSION
Name of the property which defines the server encoding the highest HList/SCL list stream version supported by the server. |
static java.lang.Integer |
SERVERLISTVERSION_DEFAULT
The default value of the SERVERLISTVERSION property. |
Constructor Summary | |
---|---|
RemoteObjectExtension()
|
Method Summary | |
---|---|
protected void |
addRemoteInstance(java.lang.Double handle,
RemoteObject remoteObject)
adds a proxy/handle pair to the extension |
RemoteObject |
createRemoteInstance(java.lang.String name)
creates an instance of the named class on the server and returns a proxy for it |
protected void |
destroyRemoteInstance(RemoteObject remoteObject)
|
java.lang.Object |
getProperty(java.lang.String name)
Get a property from this extension. |
com.sas.net.connect.ConnectRecord |
getRecords(int recordCode)
intercepts the appropriate incoming records |
protected RemoteObject |
getRemoteObject(java.lang.Double handle)
|
protected void |
invokeRemoteMethod(RemoteObject remoteObject,
java.lang.String name)
|
void |
setClient(ConnectClient client)
notifies this extension of the ConnectClient it is extending |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Store a property on this extension. |
protected void |
setRemoteInited(boolean remoteInited)
|
Field Detail |
---|
public static java.lang.String SERVERENCODING
public static java.lang.String SERVERLISTVERSION
public static final java.lang.Integer SERVERLISTVERSION_DEFAULT
SERVERLISTVERSION
property.
public static final java.lang.String SERVERENCODING_DEFAULT
SERVERENCODING
property.
public static final java.lang.String resourceBundleName
protected ConnectClient client
protected java.util.Hashtable recordTable
protected boolean remoteInited
protected RemoteObject remoteInstance
protected java.util.Hashtable remoteObjectTable
protected java.util.Properties properties
Constructor Detail |
---|
public RemoteObjectExtension()
Method Detail |
---|
public RemoteObject createRemoteInstance(java.lang.String name) throws ConnectException
name
- the SAS/AF name of the remote class
ConnectException
- if there is an errorpublic void setProperty(java.lang.String name, java.lang.Object value) throws ConnectException
name
- the name of the propertyvalue
- the value to associate with the name.
ConnectException
- if there is an errorpublic java.lang.Object getProperty(java.lang.String name) throws ConnectException
name
- the name of the property
ConnectException
- if there is an errorpublic void setClient(ConnectClient client)
setClient
in interface com.sas.net.connect.ConnectClientExtensionInterface
client
- the ConnectClient this extension is extendingpublic com.sas.net.connect.ConnectRecord getRecords(int recordCode) throws ConnectException
getRecords
in interface com.sas.net.connect.ConnectClientExtensionInterface
recordCode
- code from ConnectRecord
ConnectException
- if there is an errorprotected void addRemoteInstance(java.lang.Double handle, RemoteObject remoteObject) throws ConnectException
handle
- the handle of the remote SAS/AF objectremoteObject
- the proxy
ConnectException
- if there is an errorprotected RemoteObject getRemoteObject(java.lang.Double handle) throws ConnectException
ConnectException
protected void invokeRemoteMethod(RemoteObject remoteObject, java.lang.String name) throws ConnectException
ConnectException
protected void destroyRemoteInstance(RemoteObject remoteObject) throws ConnectException
ConnectException
protected void setRemoteInited(boolean remoteInited)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |