File: constants.rb

package info (click to toggle)
ruby-net-ssh 1%3A6.1.0-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,884 kB
  • sloc: ruby: 15,997; makefile: 4
file content (37 lines) | stat: -rw-r--r-- 885 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
module Net
  module SSH
    module Connection

      # Definitions of constants that are specific to the connection layer of the
      # SSH protocol.
      module Constants

        #--
        # Connection protocol generic messages
        #++

        GLOBAL_REQUEST            = 80
        REQUEST_SUCCESS           = 81
        REQUEST_FAILURE           = 82

        #--
        # Channel related messages
        #++

        CHANNEL_OPEN              = 90
        CHANNEL_OPEN_CONFIRMATION = 91
        CHANNEL_OPEN_FAILURE      = 92
        CHANNEL_WINDOW_ADJUST     = 93
        CHANNEL_DATA              = 94
        CHANNEL_EXTENDED_DATA     = 95
        CHANNEL_EOF               = 96
        CHANNEL_CLOSE             = 97
        CHANNEL_REQUEST           = 98
        CHANNEL_SUCCESS           = 99
        CHANNEL_FAILURE           = 100

      end

    end
  end
end