Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
protohackers
main
Top Level Namespace
Cipher
CipherType
Data
Error
Heartbeat
IAmCamera
IAmDispatcher
Int
Message
NumConverter
Plate
PlateSighting
Primes
MillerRabin
ProtoHackers
AckMessage
BudgetChat
CloseMessage
ConnectMessage
DataMessage
File
Folder
InsecureSocketLayer
ISLSession
JobCentre
Job
Manager
Request
Response
LineReversal
LRCPServer
LRMessage
LRSession
LRState
MeansToAnEnd
MobInTheMiddle
PrimeTime
SmokeTest
SpeedDaemon
Storage
UnusualDB
VoraciousCodeStorage
Response
SessionFileBackend
Ticket
WantHeartbeat
Built with Crystal 1.9.2
2023-10-07 11:02:34 UTC
class
ProtoHackers::AckMessage
ProtoHackers::AckMessage
ProtoHackers::LRMessage
Reference
Object
Defined in:
7_line_reversal.cr
Constructors
.new
(ip, session_id, ordinal : UInt32)
Instance Method Summary
#send
(server : UDPSocket)
Instance methods inherited from class
ProtoHackers::LRMessage
command : String
command
,
command=(command : String)
command=
,
data : String
data
,
data=(data : String)
data=
,
ip : Socket::IPAddress
ip
,
ip=(ip : Socket::IPAddress)
ip=
,
ordinal : UInt32
ordinal
,
ordinal=(ordinal : UInt32)
ordinal=
,
resends : Int32
resends
,
resends=(resends : Int32)
resends=
,
send(server : UDPSocket)
send
,
session_id : String
session_id
,
session_id=(session_id : String)
session_id=
Constructor methods inherited from class
ProtoHackers::LRMessage
new(ip : Socket::IPAddress, command : String, session_id : String, ordinal : UInt32 =
0
, data : String =
""
, resends : Int32 =
0
)
new
Constructor Detail
def self.
new
(ip, session_id, ordinal : UInt32)
#
[
View source
]
Instance Method Detail
def
send
(server : UDPSocket)
#
[
View source
]