Package ptolemy.actor

Examples of ptolemy.actor.IOPort.convert()


                                IOPort port = receiver.getContainer();
                                if (isPutConditional) {
                                    receiver._putConditional = true;
                                    receiver._token = token == null ? null
                                            : port.convert(token);
                                } else {
                                    receiver._putConditional = false;
                                    try {
                                        token = tokenArray[i][j];
                                    } catch (Throwable e) {
View Full Code Here


                                    try {
                                        token = tokenArray[i][j];
                                    } catch (Throwable e) {
                                    }
                                    receiver._token = token == null ? null
                                            : port.convert(token);
                                }

                                if (isSymmetric) {
                                    receiver._symmetricGetReceivers = getReceivers;
                                }
View Full Code Here

                    Thread putThread = new Thread(name) {
                        public void run() {
                            // System.out.println("**** starting thread on: " + CSPDirector._receiverStatus(receiver));
                            try {
                                IOPort port = receiver.getContainer();
                                receiver.put(port.convert(token));
                            } catch (IllegalActionException e) {
                                _exception = e;
                            } catch (TerminateProcessException e) {
                                // To stop the actor thread, we have
                                // to throw this exception.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.