All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ngrok.NativeEdgeForwarder Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package com.ngrok;

import java.io.IOException;
import java.util.Map;

/**
 * An implementation of {@link Forwarder.Edge} that delegates implementation to a native library.
 */
public class NativeEdgeForwarder extends AbstractEdge implements Forwarder.Edge {
    private long native_address;

    public NativeEdgeForwarder(String id, String metadata, String forwardsTo, Map labels) {
        super(id, metadata, forwardsTo, labels);
    }

    @Override
    public native void join() throws IOException;

    @Override
    public native void close() throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy