File: TestProtocol.txt

package info (click to toggle)
boxbackup 0.13~~git20231028.g3dd5194%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 13,040 kB
  • sloc: xml: 70,723; cpp: 55,569; ansic: 24,659; perl: 4,845; sh: 4,294; makefile: 578; python: 311
file content (42 lines) | stat: -rw-r--r-- 695 bytes parent folder | download | duplicates (8)
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
38
39
40
41
42
# test protocol file

Name 			Test
IdentString		Test-0.00
ServerContextClass	TestContext	TestContext.h

BEGIN_OBJECTS

Error		0	IsError(Type,SubType)	Reply
	int32	Type
	int32	SubType

Hello		1	Command(Hello)	Reply
	int32	Number32
	int16	Number16
	int8	Number8
	string	Text

Lists		2	Command(ListsReply)
	vector<string>	LotsOfText

ListsReply	3	Reply
	int32	NumberOfStrings

Quit		4	Command(Quit)	Reply	EndsConversation

Simple		5	Command(SimpleReply)
	int32	Value

SimpleReply	6	Reply
	int32	ValuePlusOne

GetStream	7	Command(GetStream)	Reply
	int32	StartingValue
	bool	UncertainSize

SendStream	8	Command(GetStream)	StreamWithCommand
	int64	Value

String		9	Command(String)	Reply
	string	Test