Index

A B C E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages

A

AbstractSocketChannel - Class in cool.scx.tcp.tls_channel
AbstractSocketChannel
AbstractSocketChannel(SocketChannel) - Constructor for class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
autoHandshake() - Method in class cool.scx.tcp.ScxTCPClientOptions
 
autoHandshake() - Method in class cool.scx.tcp.ScxTCPServerOptions
 
autoHandshake(boolean) - Method in class cool.scx.tcp.ScxTCPClientOptions
 
autoHandshake(boolean) - Method in class cool.scx.tcp.ScxTCPServerOptions
 
autoUpgradeToTLS() - Method in class cool.scx.tcp.ScxTCPClientOptions
 
autoUpgradeToTLS() - Method in class cool.scx.tcp.ScxTCPServerOptions
 
autoUpgradeToTLS(boolean) - Method in class cool.scx.tcp.ScxTCPClientOptions
 
autoUpgradeToTLS(boolean) - Method in class cool.scx.tcp.ScxTCPServerOptions
 

B

backlog() - Method in class cool.scx.tcp.ScxTCPServerOptions
 
backlog(int) - Method in class cool.scx.tcp.ScxTCPServerOptions
 
bind(SocketAddress) - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
BUFFER_OVERFLOW - Enum constant in enum class cool.scx.tcp.tls_channel.UnwrapResult.Status
 
BUFFER_UNDERFLOW - Enum constant in enum class cool.scx.tcp.tls_channel.UnwrapResult.Status
 
bytesConsumed - Variable in class cool.scx.tcp.tls_channel.UnwrapResult
 
bytesConsumed - Variable in class cool.scx.tcp.tls_channel.WrapResult
 
bytesProduced - Variable in class cool.scx.tcp.tls_channel.UnwrapResult
 
bytesProduced - Variable in class cool.scx.tcp.tls_channel.WrapResult
 

C

ClassicTCPClient - Class in cool.scx.tcp
经典 TCP 客户端
ClassicTCPClient() - Constructor for class cool.scx.tcp.ClassicTCPClient
 
ClassicTCPClient(ScxTCPClientOptions) - Constructor for class cool.scx.tcp.ClassicTCPClient
 
ClassicTCPServer - Class in cool.scx.tcp
经典 TCP 服务器
ClassicTCPServer() - Constructor for class cool.scx.tcp.ClassicTCPServer
 
ClassicTCPServer(ScxTCPServerOptions) - Constructor for class cool.scx.tcp.ClassicTCPServer
 
ClassicTCPSocket - Class in cool.scx.tcp
经典 TCP Socket
ClassicTCPSocket(Socket) - Constructor for class cool.scx.tcp.ClassicTCPSocket
 
ClassicTLSManager - Class in cool.scx.tcp
经典 TLS Manager
ClassicTLSManager(SSLSocket) - Constructor for class cool.scx.tcp.ClassicTLSManager
 
close() - Method in class cool.scx.tcp.ClassicTCPSocket
 
close() - Method in class cool.scx.tcp.NioTCPSocket
 
CLOSED - Enum constant in enum class cool.scx.tcp.tls_channel.UnwrapResult.Status
 
connect(SocketAddress) - Method in class cool.scx.tcp.ClassicTCPClient
 
connect(SocketAddress) - Method in class cool.scx.tcp.NioTCPClient
 
connect(SocketAddress) - Method in interface cool.scx.tcp.ScxTCPClient
 
connect(SocketAddress) - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
content() - Method in record class cool.scx.tcp.tls.PemObject
Returns the value of the content record component.
convertPKCS1ToPKCS8(byte[]) - Static method in class cool.scx.tcp.tls.PemHelper
 
cool.scx.tcp - package cool.scx.tcp
 
cool.scx.tcp.proxy - package cool.scx.tcp.proxy
 
cool.scx.tcp.tls - package cool.scx.tcp.tls
 
cool.scx.tcp.tls_channel - package cool.scx.tcp.tls_channel
 
createCertificateFromPem(String) - Static method in class cool.scx.tcp.tls.TLSHelper
 
createDefaultSSLContext() - Static method in class cool.scx.tcp.tls.TLSHelper
 
createKeyManagerFactory(KeyStore, String) - Static method in class cool.scx.tcp.tls.TLSHelper
 
createKeyStore(Path, String) - Static method in class cool.scx.tcp.tls.TLSHelper
 
createKeyStore(X509Certificate, PrivateKey, String) - Static method in class cool.scx.tcp.tls.TLSHelper
创建 KetStore
createPrivateKeyFromPem(String) - Static method in class cool.scx.tcp.tls.TLSHelper
 
createSSLContext(Path, String) - Static method in class cool.scx.tcp.tls.TLSHelper
 
createSSLContext(KeyStore, String) - Static method in class cool.scx.tcp.tls.TLSHelper
 
createSSLContext(KeyManagerFactory, TrustManagerFactory) - Static method in class cool.scx.tcp.tls.TLSHelper
 
createSSLContextFromPem(String, String) - Static method in class cool.scx.tcp.tls.TLSHelper
 
createSSLContextFromPem(String, String, String) - Static method in class cool.scx.tcp.tls.TLSHelper
 
createSSLContextFromPem(Path, Path) - Static method in class cool.scx.tcp.tls.TLSHelper
根据 pem 格式证书 创建 SSLContext
createTrustAnySSLContext() - Static method in class cool.scx.tcp.tls.TLSHelper
 
createTrustManagerFactory(KeyStore) - Static method in class cool.scx.tcp.tls.TLSHelper
 

E

enabled() - Method in class cool.scx.tcp.proxy.Proxy
 
enabled() - Method in interface cool.scx.tcp.tls.TLS
 
enabled(boolean) - Method in class cool.scx.tcp.proxy.Proxy
 
enabled(boolean) - Method in interface cool.scx.tcp.tls.TLS
 
equals(Object) - Method in record class cool.scx.tcp.tls.PemObject
Indicates whether some other object is "equal to" this one.

F

finishConnect() - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 

G

getApplicationProtocol() - Method in class cool.scx.tcp.ClassicTLSManager
 
getApplicationProtocol() - Method in class cool.scx.tcp.NioTLSManager
 
getApplicationProtocol() - Method in interface cool.scx.tcp.ScxTLSManager
 
getLocalAddress() - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
getOption(SocketOption<T>) - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
getRemoteAddress() - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
getSSLParameters() - Method in class cool.scx.tcp.ClassicTLSManager
 
getSSLParameters() - Method in class cool.scx.tcp.NioTLSManager
 
getSSLParameters() - Method in interface cool.scx.tcp.ScxTLSManager
 

H

hashCode() - Method in record class cool.scx.tcp.tls.PemObject
Returns a hash code value for this object.

I

implCloseSelectableChannel() - Method in class cool.scx.tcp.tls_channel.TLSSocketChannel
 
implConfigureBlocking(boolean) - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
inputStream() - Method in class cool.scx.tcp.ClassicTCPSocket
 
inputStream() - Method in class cool.scx.tcp.NioTCPSocket
 
inputStream() - Method in interface cool.scx.tcp.ScxTCPSocket
 
isClosed() - Method in class cool.scx.tcp.ClassicTCPSocket
 
isClosed() - Method in class cool.scx.tcp.NioTCPSocket
 
isClosed() - Method in interface cool.scx.tcp.ScxTCPSocket
 
isConnected() - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
isConnectionPending() - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
isTLS() - Method in class cool.scx.tcp.ClassicTCPSocket
 
isTLS() - Method in class cool.scx.tcp.NioTCPSocket
 
isTLS() - Method in interface cool.scx.tcp.ScxTCPSocket
 

L

localAddress() - Method in class cool.scx.tcp.ClassicTCPServer
 
localAddress() - Method in class cool.scx.tcp.ClassicTCPSocket
 
localAddress() - Method in class cool.scx.tcp.NioTCPServer
 
localAddress() - Method in class cool.scx.tcp.NioTCPSocket
 
localAddress() - Method in interface cool.scx.tcp.ScxTCPServer
 
localAddress() - Method in class cool.scx.tcp.ScxTCPServerOptions
 
localAddress() - Method in interface cool.scx.tcp.ScxTCPSocket
 
localAddress(InetSocketAddress) - Method in class cool.scx.tcp.ScxTCPServerOptions
 

M

marker() - Method in record class cool.scx.tcp.tls.PemObject
Returns the value of the marker record component.

N

NioTCPClient - Class in cool.scx.tcp
NIO TCP 客户端
NioTCPClient() - Constructor for class cool.scx.tcp.NioTCPClient
 
NioTCPClient(ScxTCPClientOptions) - Constructor for class cool.scx.tcp.NioTCPClient
 
NioTCPServer - Class in cool.scx.tcp
NIO TCP 服务器
NioTCPServer() - Constructor for class cool.scx.tcp.NioTCPServer
 
NioTCPServer(ScxTCPServerOptions) - Constructor for class cool.scx.tcp.NioTCPServer
 
NioTCPSocket - Class in cool.scx.tcp
NIO TCP Socket
NioTCPSocket(SocketChannel) - Constructor for class cool.scx.tcp.NioTCPSocket
 
NioTLSManager - Class in cool.scx.tcp
NIO TLS Manager
NioTLSManager(SSLEngine) - Constructor for class cool.scx.tcp.NioTLSManager
 

O

of(Path, String) - Static method in interface cool.scx.tcp.tls.TLS
 
of(SSLContext) - Static method in interface cool.scx.tcp.tls.TLS
 
ofDefault() - Static method in interface cool.scx.tcp.tls.TLS
 
ofPem(String, String) - Static method in interface cool.scx.tcp.tls.TLS
 
ofPem(Path, Path) - Static method in interface cool.scx.tcp.tls.TLS
 
ofTrustAny() - Static method in interface cool.scx.tcp.tls.TLS
 
OK - Enum constant in enum class cool.scx.tcp.tls_channel.UnwrapResult.Status
 
onConnect(Consumer<ScxTCPSocket>) - Method in class cool.scx.tcp.ClassicTCPServer
 
onConnect(Consumer<ScxTCPSocket>) - Method in class cool.scx.tcp.NioTCPServer
 
onConnect(Consumer<ScxTCPSocket>) - Method in interface cool.scx.tcp.ScxTCPServer
 
outputStream() - Method in class cool.scx.tcp.ClassicTCPSocket
 
outputStream() - Method in class cool.scx.tcp.NioTCPSocket
 
outputStream() - Method in interface cool.scx.tcp.ScxTCPSocket
 

P

parsePem(String) - Static method in class cool.scx.tcp.tls.PemHelper
 
PEM_PATTERN - Static variable in class cool.scx.tcp.tls.PemHelper
 
PemHelper - Class in cool.scx.tcp.tls
 
PemHelper() - Constructor for class cool.scx.tcp.tls.PemHelper
 
PemObject - Record Class in cool.scx.tcp.tls
存储解析出来的 PEM 文件内容
PemObject(byte[], String) - Constructor for record class cool.scx.tcp.tls.PemObject
Creates an instance of a PemObject record class.
port(int) - Method in class cool.scx.tcp.ScxTCPServerOptions
 
proxy() - Method in class cool.scx.tcp.ScxTCPClientOptions
 
proxy(Proxy) - Method in class cool.scx.tcp.ScxTCPClientOptions
 
Proxy - Class in cool.scx.tcp.proxy
代理 todo 待完成
Proxy() - Constructor for class cool.scx.tcp.proxy.Proxy
 

R

read(ByteBuffer) - Method in class cool.scx.tcp.tls_channel.TLSSocketChannel
 
read(ByteBuffer[], int, int) - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
remoteAddress() - Method in class cool.scx.tcp.ClassicTCPSocket
 
remoteAddress() - Method in class cool.scx.tcp.NioTCPSocket
 
remoteAddress() - Method in interface cool.scx.tcp.ScxTCPSocket
 

S

ScxTCPClient - Interface in cool.scx.tcp
ScxTCPClient
ScxTCPClientOptions - Class in cool.scx.tcp
ScxTCPClientOptions
ScxTCPClientOptions() - Constructor for class cool.scx.tcp.ScxTCPClientOptions
 
ScxTCPClientOptions(ScxTCPClientOptions) - Constructor for class cool.scx.tcp.ScxTCPClientOptions
 
ScxTCPServer - Interface in cool.scx.tcp
ScxTCPServer
ScxTCPServerOptions - Class in cool.scx.tcp
ScxTCPServerOptions
ScxTCPServerOptions() - Constructor for class cool.scx.tcp.ScxTCPServerOptions
 
ScxTCPServerOptions(ScxTCPServerOptions) - Constructor for class cool.scx.tcp.ScxTCPServerOptions
 
ScxTCPSocket - Interface in cool.scx.tcp
ScxTCPSocket
ScxTLSManager - Interface in cool.scx.tcp
ScxTLSManager
serverSocketFactory() - Method in interface cool.scx.tcp.tls.TLS
 
setApplicationProtocols(String...) - Method in interface cool.scx.tcp.ScxTLSManager
 
setHandshakeApplicationProtocolSelector(BiFunction<ScxTLSManager, List<String>, String>) - Method in class cool.scx.tcp.ClassicTLSManager
 
setHandshakeApplicationProtocolSelector(BiFunction<ScxTLSManager, List<String>, String>) - Method in class cool.scx.tcp.NioTLSManager
 
setHandshakeApplicationProtocolSelector(BiFunction<ScxTLSManager, List<String>, String>) - Method in interface cool.scx.tcp.ScxTLSManager
 
setOption(SocketOption<T>, T) - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
setSSLParameters(SSLParameters) - Method in class cool.scx.tcp.ClassicTLSManager
 
setSSLParameters(SSLParameters) - Method in class cool.scx.tcp.NioTLSManager
 
setSSLParameters(SSLParameters) - Method in interface cool.scx.tcp.ScxTLSManager
 
setUseClientMode(boolean) - Method in class cool.scx.tcp.ClassicTLSManager
 
setUseClientMode(boolean) - Method in class cool.scx.tcp.NioTLSManager
 
setUseClientMode(boolean) - Method in interface cool.scx.tcp.ScxTLSManager
 
shutdownInput() - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
shutdownOutput() - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
socket() - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
SOCKET_CHANNEL_CLOSED - Enum constant in enum class cool.scx.tcp.tls_channel.UnwrapResult.Status
 
socketChannel - Variable in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
socketFactory() - Method in interface cool.scx.tcp.tls.TLS
 
sslContext() - Method in interface cool.scx.tcp.tls.TLS
 
sslEngine() - Method in class cool.scx.tcp.tls_channel.TLSSocketChannel
 
start() - Method in class cool.scx.tcp.ClassicTCPServer
 
start() - Method in class cool.scx.tcp.NioTCPServer
 
start() - Method in interface cool.scx.tcp.ScxTCPServer
 
startHandshake() - Method in class cool.scx.tcp.ClassicTCPSocket
 
startHandshake() - Method in class cool.scx.tcp.NioTCPSocket
 
startHandshake() - Method in interface cool.scx.tcp.ScxTCPSocket
 
startHandshake() - Method in class cool.scx.tcp.tls_channel.TLSSocketChannel
 
status - Variable in class cool.scx.tcp.tls_channel.UnwrapResult
 
status - Variable in class cool.scx.tcp.tls_channel.WrapResult
 
stop() - Method in class cool.scx.tcp.ClassicTCPServer
 
stop() - Method in class cool.scx.tcp.NioTCPServer
 
stop() - Method in interface cool.scx.tcp.ScxTCPServer
 
supportedOptions() - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 

T

tls() - Method in class cool.scx.tcp.ScxTCPClientOptions
 
tls() - Method in class cool.scx.tcp.ScxTCPServerOptions
 
tls(TLS) - Method in class cool.scx.tcp.ScxTCPClientOptions
 
tls(TLS) - Method in class cool.scx.tcp.ScxTCPServerOptions
 
TLS - Interface in cool.scx.tcp.tls
TLS 配置
TLSHelper - Class in cool.scx.tcp.tls
TLSHelper
TLSHelper() - Constructor for class cool.scx.tcp.tls.TLSHelper
 
tlsManager() - Method in class cool.scx.tcp.ClassicTCPSocket
 
tlsManager() - Method in class cool.scx.tcp.NioTCPSocket
 
tlsManager() - Method in interface cool.scx.tcp.ScxTCPSocket
 
TLSSocketChannel - Class in cool.scx.tcp.tls_channel
TLSSocketChannel
TLSSocketChannel(SocketChannel, SSLEngine) - Constructor for class cool.scx.tcp.tls_channel.TLSSocketChannel
 
toString() - Method in class cool.scx.tcp.tls_channel.UnwrapResult
 
toString() - Method in class cool.scx.tcp.tls_channel.WrapResult
 
toString() - Method in record class cool.scx.tcp.tls.PemObject
Returns a string representation of this record class.

U

unwrap(boolean) - Method in class cool.scx.tcp.tls_channel.TLSSocketChannel
 
UnwrapResult - Class in cool.scx.tcp.tls_channel
UnwrapResult
UnwrapResult() - Constructor for class cool.scx.tcp.tls_channel.UnwrapResult
 
UnwrapResult.Status - Enum Class in cool.scx.tcp.tls_channel
 
upgradeToTLS(TLS) - Method in class cool.scx.tcp.ClassicTCPSocket
 
upgradeToTLS(TLS) - Method in class cool.scx.tcp.NioTCPSocket
 
upgradeToTLS(TLS) - Method in interface cool.scx.tcp.ScxTCPSocket
 

V

valueOf(String) - Static method in enum class cool.scx.tcp.tls_channel.UnwrapResult.Status
Returns the enum constant of this class with the specified name.
values() - Static method in enum class cool.scx.tcp.tls_channel.UnwrapResult.Status
Returns an array containing the constants of this enum class, in the order they are declared.

W

wrap(ByteBuffer) - Method in class cool.scx.tcp.tls_channel.TLSSocketChannel
 
WrapResult - Class in cool.scx.tcp.tls_channel
WrapResult
WrapResult() - Constructor for class cool.scx.tcp.tls_channel.WrapResult
 
write(ByteBuffer) - Method in class cool.scx.tcp.tls_channel.TLSSocketChannel
 
write(ByteBuffer[], int, int) - Method in class cool.scx.tcp.tls_channel.AbstractSocketChannel
 
A B C E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages