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

org.rx.net.socks.upstream.Upstream Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package org.rx.net.socks.upstream;

import io.netty.channel.Channel;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NonNull;
import org.rx.net.AuthenticEndpoint;
import org.rx.net.support.UnresolvedEndpoint;

@AllArgsConstructor
@Getter
public class Upstream {
    protected volatile UnresolvedEndpoint destination;
    protected volatile AuthenticEndpoint socksServer;

    public Upstream(@NonNull UnresolvedEndpoint dstEp) {
        destination = dstEp;
    }

    public void initChannel(Channel channel) {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy