enum Mud::Net::OptionState

Overview

Possible states for a Telnet option (RFC 1143).

Defined in:

net/telnet.cr

Enum Members

No = 0
WantNo = 1
WantNoOpposite = 2
Yes = 3
WantYes = 4
WantYesOpposite = 5

Instance Method Summary

Instance Method Detail

def no? #

[View source]
def receive_negative : OptionState #

[View source]
def receive_positive : OptionState #

[View source]
def want_no? #

[View source]
def want_no_opposite? #

[View source]
def want_yes? #

[View source]
def want_yes_opposite? #

[View source]
def yes? #

[View source]