class Net::SSH::Transport::State
def initialize(socket, role)
Creates a new state object, belonging to the given socket. Initializes
def initialize(socket, role) @socket = socket @role = role @sequence_number = @packets = @blocks = 0 @cipher = CipherFactory.get("none") @block_size = 8 @hmac = HMAC.get("none") @compression = nil @compressor = @decompressor = nil @next_iv = String.new end