
Datagram |
ptolemy.actor.lib.net.demo.Datagram.Datagram |
This actor copies, to the system clipboard, the contents of any token
received at its <i>input</i> port. It pastes, from the system
clipboard to the <i>output</i> port, whenever it receives a token at
the <i>trigger</i>. If both inputs receive tokens during the same
firing, the paste is done before the copy. This ordering insures that
the contents of the clipboard are not lost in the event of a
simultaneous copy-paste operation.
<p> NOTE: This actor has been tested only with an 8-bit character set
as the Java default character set. Results are not known for systems
configured for 16-bit Unicode characters.
Author(s): Winthrop Williams
Version:$Id: Datagram.doc.html,v 1.1 2006/02/22 18:40:26 mangal Exp $
Pt.Proposed Rating:Red (winthrop)
Pt.Accepted Rating:Red (winthrop)
input
Input port, which has type StringToken.
trigger
Input port, which has type Token.
output
Output port, which has type StringToken.