Package de.fhkn.in.uce.holepunching.core.target

Examples of de.fhkn.in.uce.holepunching.core.target.HolePunchingTarget.start()


        try {
            HolePunchingTarget target = new HolePunchingTarget(controlConnection, targetId);
            logger.debug("Sending connection request response"); //$NON-NLS-1$
            this.sendConnectionRequestResponse(controlConnection, connectionRequestMessage);
            logger.debug("Starting hole punching target"); //$NON-NLS-1$
            target.start(connectionRequestMessage);
            logger.debug("Waiting for accepted socket"); //$NON-NLS-1$
            return target.accept();
        } catch (final Exception e) {
            final String errorMessage = "Could not create target-side connection"; //$NON-NLS-1$
            logger.error(errorMessage, e);
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.