class EncryptedTcp::Connection
- EncryptedTcp::Connection
- Reference
- Object
Defined in:
client/connection.crConstant Summary
-
DEBUG_WATCHFILE =
ENV["DEBUG_WATCHFILE"]? || "/tmp/debug"
-
ETCP_HEARTBEAT =
(ENV["ETCP_HEARTBEAT"]? || "15").to_i
-
LOCAL_TCP_IDLE =
(ENV["TCP_KEEPALIVE_IDLE"]? || "10").to_i
-
LOCAL_TCP_KEEPALIVE =
(ENV["TCP_KEEPALIVE"]? || "100").to_i
-
LOCAL_TCP_KEEPALIVE_COUNT =
(ENV["TCP_KEEPALIVE_COUNT"]? || "10").to_i
-
LOCAL_TCP_NODELAY =
ENV["TCP_NODELAY"]? || "true"
Constructors
Instance Method Summary
- #alive?
- #build_tcp_connection
- #close
- #mutex : Mutex
- #once_alive?
- #ping?
- #raw_send(send_data)
- #send(data)
Constructor Detail
def self.new(host : String, port : String, client_secret_key : String, client_public_key : String, server_public_key : String)
#