Package | Description |
---|---|
org.snf4j.core |
Provides interfaces and classes implementing the core functionalities of the
API.
|
org.snf4j.core.factory |
Provides interfaces and classes for factories of different kind that are used
by the API.
|
org.snf4j.core.handler |
Provides interfaces and classes for implementing sessions' handlers.
|
org.snf4j.core.proxy |
Provides classes and interfaces for proxy handling.
|
Modifier and Type | Method and Description |
---|---|
ISessionStructureFactory |
DatagramServerHandler.getFactory() |
Constructor and Description |
---|
DatagramServerHandler(IDatagramHandlerFactory handlerFactory,
ISessionConfig config,
ISessionStructureFactory factory)
Constructs a datagram server handler.
|
DTLSServerHandler(IDatagramHandlerFactory handlerFactory,
ISessionConfig config,
ISessionStructureFactory factory)
Constructs a DTLS server handler.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultSessionStructureFactory
Default factory used to configure the internal structure of the created session.
|
Modifier and Type | Method and Description |
---|---|
ISessionStructureFactory |
IHandler.getFactory()
Returns the factory object that will be used to configure the internal
structure of the associated session.
|
ISessionStructureFactory |
AbstractHandler.getFactory() |
Modifier and Type | Method and Description |
---|---|
ISessionStructureFactory |
AbstractProxyHandler.getFactory() |
Constructor and Description |
---|
AbstractProxyHandler(ISessionConfig config,
ISessionStructureFactory factory)
Constructs a proxy connection handler with the default (10 seconds)
connection timeout, configuration and factory.
|
AbstractSocksProxyHandler(InetSocketAddress address,
ISessionConfig config,
ISessionStructureFactory factory)
Constructs a SOCKS proxy connection handler with the specified destination
address, the default (10 seconds) connection timeout, configuration and factory.
|
HttpProxyHandler(URI uri,
ISessionConfig config,
ISessionStructureFactory factory)
Constructs an HTTP tunnel connection handler with the default (10 seconds)
connection timeout, configuration and factory.
|
HttpProxyHandler(URI uri,
String username,
String password,
ISessionConfig config,
ISessionStructureFactory factory)
Constructs an HTTP tunnel connection handler with the default (10 seconds)
connection timeout, user's name/password for the 'Basic' HTTP authentication
scheme, configuration and factory.
|
Socks4ProxyHandler(InetSocketAddress address,
Socks4Command command,
String username,
ISessionConfig config,
ISessionStructureFactory factory)
Constructs a SOCKS4 proxy connection handler with the specified destination
address, SOCKS4 command, user's name, the default (10 seconds) connection
timeout, configuration and factory.
|
Socks4ProxyHandler(InetSocketAddress address,
String username,
ISessionConfig config,
ISessionStructureFactory factory)
Constructs a SOCKS4 proxy connection handler with the specified destination
address, the default (
CONNECT ) command, user's
name, the default (10 seconds) connection timeout, configuration and factory. |
Socks5ProxyHandler(InetSocketAddress address,
ISessionConfig config,
ISessionStructureFactory factory)
Constructs a SOCKS5 proxy connection handler with the specified destination
address, the default (
CONNECT ) command, the
default (10 seconds) connection timeout, configuration and factory. |
Socks5ProxyHandler(InetSocketAddress address,
Socks5Command command,
ISessionConfig config,
ISessionStructureFactory factory)
Constructs a SOCKS5 proxy connection handler with the specified destination
address, SOCKS5 command, the default (10 seconds) connection timeout,
configuration and factory.
|
Socks5ProxyHandler(InetSocketAddress address,
Socks5Command command,
String username,
String password,
ISessionConfig config,
ISessionStructureFactory factory)
Constructs a SOCKS5 proxy connection handler with the specified destination
address, SOCKS5 command, user's name/password, the default (10 seconds)
connection timeout, configuration and factory.
|
Socks5ProxyHandler(InetSocketAddress address,
String username,
String password,
ISessionConfig config,
ISessionStructureFactory factory)
Constructs a SOCKS5 proxy connection handler with the specified destination
address, the default (
CONNECT ) command, user's
name/password, the default (10 seconds) connection timeout, configuration and
factory. |
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.