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

Examples of de.fhkn.in.uce.holepunching.core.source.HolePunchingSource


    @Override
    public Socket createSourceSideConnection(final String targetId, final Socket controlConnection)
            throws ConnectionNotEstablishedException {
        Socket result = null;
        final HolePunchingSource source = new HolePunchingSource();
        try {
            result = source.establishSourceSideConnection(targetId, controlConnection);
        } catch (final IOException e) {
            final String errorMessage = "Could not create source-side onnection"; //$NON-NLS-1$
            logger.error(errorMessage, e);
            throw new ConnectionNotEstablishedException(this.metaData.getTraversalTechniqueName(), errorMessage, e);
        }
View Full Code Here

TOP

Related Classes of de.fhkn.in.uce.holepunching.core.source.HolePunchingSource

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.