Examples of Connection

  • 2 ends that can be connected to {@link Gate}.
  • A {@link Path} that provides the path from the first end to the last end @author zxpletran007
  • spark.api.Connection
    A connection to a SPARQL processor. Connections can be used to create commands, get metadata, or be closed.
  • sun.rmi.transport.Connection
  • tv.floe.metronome.classification.neuralnetworks.core.Connection
  • vicazh.hyperpool.stream.Connection
    This class is the superclass of all connections @author Victor Zhigunov @version 0.4.8.3

  • Examples of org.dcm4che3.net.Connection

                     }
                 }
        };

        public StgCmtSCU(ApplicationEntity ae) throws IOException {
            this.remote = new Connection();
            this.ae = ae;
            DicomServiceRegistry serviceRegistry = new DicomServiceRegistry();
            serviceRegistry.addDicomService(new BasicCEchoSCP());
            serviceRegistry.addDicomService(stgcmtResultHandler);
            ae.setDimseRQHandler(serviceRegistry);
    View Full Code Here

    Examples of org.drools.definition.process.Connection

            Map<ConnectionRef, Constraint> map = new HashMap<ConnectionRef, Constraint>( splitNode.getConstraints() );
            for ( Iterator<Map.Entry<ConnectionRef, Constraint>> it = map.entrySet().iterator(); it.hasNext(); ) {
                Map.Entry<ConnectionRef, Constraint> entry = it.next();
                ConnectionRef connection = entry.getKey();
                ConstraintImpl constraint = (ConstraintImpl) entry.getValue();
                Connection outgoingConnection = null;
                for (Connection out: splitNode.getDefaultOutgoingConnections()) {
                    if (out.getToType().equals(connection.getToType())
                        && out.getTo().getId() == connection.getNodeId()) {
                        outgoingConnection = out;
                    }
    View Full Code Here

    Examples of org.drools.eclipse.editors.rete.model.Connection

                    final List<Connection> edges = rowNode.getSourceConnections();

                    for ( final Iterator<Connection> edgeIter = edges.iterator(); edgeIter.hasNext(); ) {

                        final Connection edge = edgeIter.next();
                        final BaseVertex destNode = edge.getOpposite( rowNode );

                        if ( !seenVertices.contains( destNode ) ) {
                            rowList.add( curRow + 1,
                                         destNode );
                            seenVertices.add( destNode );
    View Full Code Here

    Examples of org.drools.process.workitem.email.Connection

      
        private Connection connection;
        private boolean result = false;

      public void setConnection(String host, String port, String userName, String password) {
        connection = new Connection();
        connection.setHost(host);
        connection.setPort(port);
        connection.setUserName(userName);
        connection.setPassword(password);
      }
    View Full Code Here

    Examples of org.drools.ruleflow.core.Connection

                            ruleSet0,
                            Connection.TYPE_NORMAL );
            new ConnectionImpl( ruleSet0,
                            split,
                            Connection.TYPE_NORMAL );
            Connection out1 = new ConnectionImpl( split,
                            ruleSet1,
                            Connection.TYPE_NORMAL );
            Connection out2 = new ConnectionImpl( split,
                            ruleSet2,
                            Connection.TYPE_NORMAL );
            new ConnectionImpl( ruleSet1,
                            join,
                            Connection.TYPE_NORMAL );
    View Full Code Here

    Examples of org.drools.workflow.core.Connection

                                Node.CONNECTION_DEFAULT_TYPE );
            new ConnectionImpl( ruleSet0,
                                Node.CONNECTION_DEFAULT_TYPE,
                                split,
                                Node.CONNECTION_DEFAULT_TYPE );
            Connection out1 = new ConnectionImpl( split,
                                                  Node.CONNECTION_DEFAULT_TYPE,
                                                  ruleSet1,
                                                  Node.CONNECTION_DEFAULT_TYPE );
            Connection out2 = new ConnectionImpl( split,
                                                  Node.CONNECTION_DEFAULT_TYPE,
                                                  ruleSet2,
                                                  Node.CONNECTION_DEFAULT_TYPE );
            new ConnectionImpl( ruleSet1,
                                Node.CONNECTION_DEFAULT_TYPE,
    View Full Code Here

    Examples of org.eclipse.draw2d.Connection

        pos = p;
        positions.get(c).add(this);
      }

      protected Point getReferencePoint() {
        Connection conn = getConnection();
        List<PropertyLocator> listOfProperties = positions.get(conn);
        int maxIndex = listOfProperties.indexOf(this);
        int dec = 5;
        for (int i = 0; i < maxIndex; i++) {
          if (listOfProperties.get(i).pos == this.pos) {
            dec += 10;
          }
        }

        int xdirec = 0;
        int ydirec = 0;
        Point p = Point.SINGLETON;
        Point f = conn.getPoints().getFirstPoint();
        Point l = conn.getPoints().getLastPoint();

        if (l.x > f.x) {
          xdirec = 1;
        } else {
          xdirec = -1;
        }

        if (l.y > f.y) {
          ydirec = 1;
        } else {
          ydirec = -1;
        }
        if (pos.equals(ParameterPosition.West)
            || pos.equals(ParameterPosition.NorthWest)
            || pos.equals(ParameterPosition.SouthWest)) {
          Point refP = conn.getPoints().getFirstPoint().getCopy();
          conn.getParent().translateToAbsolute(refP);
          p.setLocation(refP.x + (dec * xdirec), refP.y + (dec * ydirec));
        } else if (pos.equals(ParameterPosition.East)
            || pos.equals(ParameterPosition.NorthEast)
            || pos.equals(ParameterPosition.SouthEast)) {
          Point refP = conn.getPoints().getLastPoint().getCopy();
          conn.getParent().translateToAbsolute(refP);
          p.setLocation(refP.x - (dec * xdirec), refP.y - (dec * ydirec));
        } else {
          Point refP = conn.getPoints().getMidpoint().getCopy();
          conn.getParent().translateToAbsolute(refP);
          p.setLocation(refP.x - (dec * xdirec), refP.y - (dec * ydirec));
        }

        return p;
      }
    View Full Code Here

    Examples of org.eclipse.graphiti.mm.pictograms.Connection

        // add connection for business object
        AddConnectionContext addContext =
            new AddConnectionContext(sAnchor, tAnchor);
        addContext.setNewObject(cs);
        Connection newConnection =
            (Connection) getFeatureProvider().addIfPossible(addContext);
       
        return newConnection;
      }
    View Full Code Here

    Examples of org.eclipse.jetty.client.api.Connection

            return activeConnections;
        }

        public Connection acquire()
        {
            Connection connection = acquireIdleConnection();
            if (connection == null)
                connection = tryCreate();
            return connection;
        }
    View Full Code Here

    Examples of org.eclipse.jetty.io.Connection

                boolean leaveOpen = _keepOpen;
                try {
                    while (endPoint.getIn().length() > 0 && endPoint.isOpen()) {
                        while (true) {
                            final Connection con = endPoint.getConnection();
                            final Connection next = con.handle();
                            if (next != con) {
                                endPoint.setConnection(next);
                                continue;
                            }
                            break;
    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.