Package model.devscore.ports

Examples of model.devscore.ports.IPort


   */
  @Override
  public final boolean hasExternalInput() {

    Iterator<IPort> itp = getInPortIterator();
    IPort port;

    // loop through all in ports and check whether there are any pending
    // messages
    while (itp.hasNext()) {

      port = itp.next();
      // is there an incoming message?
      if (port.hasValue()) {
        // return with true if first port with a message has been found
        return true;
      }
    }
    // if we get here no port with a pending message has been found
View Full Code Here

TOP

Related Classes of model.devscore.ports.IPort

Copyright © 2018 www.massapicom. 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.