SICSRemoteObjects

Search SINQ Wiki:
SINQ LIN

SINQ Wiki
- Main Page
- Search SINQ Wiki
- Sample Environment
- Probenumg. Intern
- Troubleshooting SICS

This Page
- Page Info
- Printer Friendly

Referenced by
NewFeaturesInSICS

Wiki Info
- Unused pages
- Undefined pages
- RecentChanges
- Page Index
- System Info
- JSPWiki Docu
- SandBox
- OneMinuteWiki
- Create a New Page




JSPWiki v2.0.52


SICS Remote Objects

A remote object is a link to an object on an other SICS server. The remote object behaves almost equally as if it would live on the same server. At present, the driveable and the callback interface ist supported.

For any remote server supported, there is a remserver object which may be created with the command

remob server <remserver> <host>:<port>

where <remserver> is the name of the remserver object, <host> is the host running the remote SICS server, and <port> is its ServerPort. The remserver may be used to execute commands on the other server.

Usage of a Remserver

<remserver> <remote command>
execute a command on a remote server (waiting for the response)
<remserver>
return the host:port of the remote server and the host:port of the executing server
<remserver> nowait <remote command>
execute a command on a remote server (do not wait for the response). This is useful, if you want to start a script on a remote server which needs access to the calling server.
<remserver> markForDel
mark all remote objects for this remserver for deletion
<remserver> delMarked
delete all marked remote objects for this remserver. (Note: if a remote object was overwritten since markForDel, it is not deleted).

Create Remote Objects

remob drv <object name> <remserver>
create (or overwrite) a new remob driveable object linked with an object with the same name on the specified remote server.
remob obj <object name> <remserver>
create (or overwrite) a new remob object (not driveable)
remob del <object name>
delete a remote object

Results and Messages from Remote Objects

The result of any command is returned transparently. There is only one visible diffrence: all lines are prefixed with 2 spaces. Messages emitted on the remote server are forwarded to the master client. During a drive or run, the master client is the starting client. If no remote object is driving, any command executed on a client with at least user right makes it a master client.



Printer Friendly  Page Info
This page last changed on 13-Sep-2005 12:08:13 UTC by MarkusZolliker.