Index
All Classes and Interfaces|All Packages
B
- backlog() - Method in class cool.scx.tcp.TCPServerOptions
- backlog(int) - Method in class cool.scx.tcp.TCPServerOptions
C
- close() - Method in class cool.scx.tcp.TCPSocket
- connect(SocketAddress) - Method in interface cool.scx.tcp.ScxTCPClient
- connect(SocketAddress, int) - Method in interface cool.scx.tcp.ScxTCPClient
- connect(SocketAddress, int) - Method in class cool.scx.tcp.TCPClient
- content() - Method in record class cool.scx.tcp.tls.PemObject
-
Returns the value of the
contentrecord component. - cool.scx.tcp - package cool.scx.tcp
- cool.scx.tcp.tls - package cool.scx.tcp.tls
- 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
- equals(Object) - Method in record class cool.scx.tcp.tls.PemObject
-
Indicates whether some other object is "equal to" this one.
G
- getApplicationProtocol() - Method in interface cool.scx.tcp.ScxTLSManager
- getApplicationProtocol() - Method in class cool.scx.tcp.TLSManager
- getSSLParameters() - Method in interface cool.scx.tcp.ScxTLSManager
- getSSLParameters() - Method in class cool.scx.tcp.TLSManager
H
- hashCode() - Method in record class cool.scx.tcp.tls.PemObject
-
Returns a hash code value for this object.
I
- inputStream() - Method in interface cool.scx.tcp.ScxTCPSocket
- inputStream() - Method in class cool.scx.tcp.TCPSocket
- isClosed() - Method in interface cool.scx.tcp.ScxTCPSocket
- isClosed() - Method in class cool.scx.tcp.TCPSocket
- isTLS() - Method in interface cool.scx.tcp.ScxTCPSocket
- isTLS() - Method in class cool.scx.tcp.TCPSocket
L
- localAddress() - Method in interface cool.scx.tcp.ScxTCPServer
- localAddress() - Method in interface cool.scx.tcp.ScxTCPSocket
- localAddress() - Method in class cool.scx.tcp.TCPServer
- localAddress() - Method in class cool.scx.tcp.TCPSocket
M
- marker() - Method in record class cool.scx.tcp.tls.PemObject
-
Returns the value of the
markerrecord component.
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
- onConnect(ScxConsumer<ScxTCPSocket, ?>) - Method in interface cool.scx.tcp.ScxTCPServer
- onConnect(ScxConsumer<ScxTCPSocket, ?>) - Method in class cool.scx.tcp.TCPServer
- options() - Method in class cool.scx.tcp.TCPServer
- outputStream() - Method in interface cool.scx.tcp.ScxTCPSocket
- outputStream() - Method in class cool.scx.tcp.TCPSocket
P
- 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
PemObjectrecord class.
R
- remoteAddress() - Method in interface cool.scx.tcp.ScxTCPSocket
- remoteAddress() - Method in class cool.scx.tcp.TCPSocket
S
- ScxTCPClient - Interface in cool.scx.tcp
-
TCP 客户端
- ScxTCPServer - Interface in cool.scx.tcp
-
TCP 服务器
- ScxTCPSocket - Interface in cool.scx.tcp
-
TCP Socket
- ScxTLSManager - Interface in cool.scx.tcp
-
TLS 管理器
- 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 interface cool.scx.tcp.ScxTLSManager
- setHandshakeApplicationProtocolSelector(BiFunction<ScxTLSManager, List<String>, String>) - Method in class cool.scx.tcp.TLSManager
- setServerNames(String...) - Method in interface cool.scx.tcp.ScxTLSManager
- setSSLParameters(SSLParameters) - Method in interface cool.scx.tcp.ScxTLSManager
- setSSLParameters(SSLParameters) - Method in class cool.scx.tcp.TLSManager
- setUseClientMode(boolean) - Method in interface cool.scx.tcp.ScxTLSManager
- setUseClientMode(boolean) - Method in class cool.scx.tcp.TLSManager
- socketFactory() - Method in interface cool.scx.tcp.tls.TLS
- sslContext() - Method in interface cool.scx.tcp.tls.TLS
- start(int) - Method in interface cool.scx.tcp.ScxTCPServer
- start(SocketAddress) - Method in interface cool.scx.tcp.ScxTCPServer
- start(SocketAddress) - Method in class cool.scx.tcp.TCPServer
- startHandshake() - Method in interface cool.scx.tcp.ScxTCPSocket
- startHandshake() - Method in class cool.scx.tcp.TCPSocket
- stop() - Method in interface cool.scx.tcp.ScxTCPServer
- stop() - Method in class cool.scx.tcp.TCPServer
T
- TCPClient - Class in cool.scx.tcp
-
TCP 客户端
- TCPClient() - Constructor for class cool.scx.tcp.TCPClient
- TCPServer - Class in cool.scx.tcp
-
TCP 服务器
- TCPServer() - Constructor for class cool.scx.tcp.TCPServer
- TCPServer(TCPServerOptions) - Constructor for class cool.scx.tcp.TCPServer
- TCPServerOptions - Class in cool.scx.tcp
-
TCP 服务器 配置
- TCPServerOptions() - Constructor for class cool.scx.tcp.TCPServerOptions
- TCPServerOptions(TCPServerOptions) - Constructor for class cool.scx.tcp.TCPServerOptions
- TCPSocket - Class in cool.scx.tcp
-
TCP Socket
- TCPSocket(Socket) - Constructor for class cool.scx.tcp.TCPSocket
- 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 interface cool.scx.tcp.ScxTCPSocket
- tlsManager() - Method in class cool.scx.tcp.TCPSocket
- TLSManager - Class in cool.scx.tcp
-
TLS 管理器
- TLSManager(SSLSocket) - Constructor for class cool.scx.tcp.TLSManager
- toString() - Method in record class cool.scx.tcp.tls.PemObject
-
Returns a string representation of this record class.
U
- upgradeToTLS(TLS) - Method in interface cool.scx.tcp.ScxTCPSocket
- upgradeToTLS(TLS) - Method in class cool.scx.tcp.TCPSocket
All Classes and Interfaces|All Packages