Examples of JoinStatus


Examples of org.hibernate.engine.transaction.spi.JoinStatus

    // Has the local transaction (Hibernate facade) taken on the responsibility of driving the transaction inflow?
    if ( currentHibernateTransaction.isInitiator() ) {
      return;
    }

    final JoinStatus joinStatus = currentHibernateTransaction.getJoinStatus();
    if ( joinStatus != JoinStatus.JOINED ) {
      // the transaction is not (yet) joined, see if we should join...
      if ( !transactionContext.shouldAutoJoinTransaction() ) {
        // we are supposed to not auto join transactions; if the transaction is not marked for join
        // we cannot go any further in attempting to join (register sync).
View Full Code Here

Examples of org.terasology.network.JoinStatus

        Callable<JoinStatus> operation = new Callable<JoinStatus>() {

            @Override
            public JoinStatus call() throws InterruptedException {
                NetworkSystem networkSystem = CoreRegistry.get(NetworkSystem.class);
                JoinStatus joinStatus = networkSystem.join(address, port);
                return joinStatus;
            }
        };

        final NUIManager manager = CoreRegistry.get(NUIManager.class);
View Full Code Here

Examples of org.terasology.network.JoinStatus

    private void join(final String address, final int port) {
        Callable<JoinStatus> operation = new Callable<JoinStatus>() {

            @Override
            public JoinStatus call() throws InterruptedException {
                JoinStatus joinStatus = networkSystem.join(address, port);
                return joinStatus;
            }
        };

        final WaitPopup<JoinStatus> popup = getManager().pushScreen(WaitPopup.ASSET_URI, WaitPopup.class);
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.