abstract class ProtoHackers::LRMessage

Direct Known Subclasses

Defined in:

7_line_reversal.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ip : Socket::IPAddress, command : String, session_id : String, ordinal : UInt32 = 0, data : String = "", resends : Int32 = 0) #

[View source]

Instance Method Detail

def command : String #

[View source]
def command=(command : String) #

[View source]
def data : String #

[View source]
def data=(data : String) #

[View source]
def ip : Socket::IPAddress #

[View source]
def ip=(ip : Socket::IPAddress) #

[View source]
def ordinal : UInt32 #

[View source]
def ordinal=(ordinal : UInt32) #

[View source]
def resends : Int32 #

[View source]
def resends=(resends : Int32) #

[View source]
abstract def send(server : UDPSocket) #

[View source]
def session_id : String #

[View source]
def session_id=(session_id : String) #

[View source]