Copyright (C) 1994, Digital Equipment Corp. INTERFACEARemoteView ; IMPORT NetObj, Thread;
RemoteView.T is a network-object version of a View.T. This
interface is under active development for Juno views, so it is
subject to change.
EXCEPTION Error(TEXT);
TYPE
T = NetObj.T BRANDED "RemoteView" OBJECT
METHODS
startrun () RAISES {NetObj.Error, Thread.Alerted};
endrun () RAISES {NetObj.Error, Thread.Alerted};
event (tfactor: REAL; nm, args: TEXT)
RAISES {Error, NetObj.Error, Thread.Alerted}
END;
The startrun and endrun methods must be called at the
start and end of each run of the animation.
The event method invokes the output-event named nm with
arguments args. The args string should be a symbolic
expression such that Sx.Read(TextRd.New(args)) will not
fail. The tfactor is the amount of time that a one-second
animation within an event should actually take in terms of
real seconds (on the wall clock). The Error exception is
raised with a descriptive error message if there was an error
parsing the arguments or invoking the named event on those
arguments.
END RemoteView.