Add transaction IDs to messages and handle on the server
This commit is contained in:
@@ -12,12 +12,17 @@ Session ::= SEQUENCE {
|
||||
minutes INTEGER
|
||||
}
|
||||
|
||||
Request ::= CHOICE {
|
||||
RequestBody ::= CHOICE {
|
||||
ping [0] NULL,
|
||||
listPrioritizedActivities [1] NULL,
|
||||
logSession [2] Session
|
||||
}
|
||||
|
||||
Request ::= SEQUENCE {
|
||||
transactionId INTEGER,
|
||||
body RequestBody
|
||||
}
|
||||
|
||||
PrioritizedActivity ::= SEQUENCE {
|
||||
subjectId INTEGER,
|
||||
subjectName UTF8String,
|
||||
@@ -31,10 +36,15 @@ Error ::= ENUMERATED {
|
||||
serverError(2)
|
||||
}
|
||||
|
||||
Response ::= CHOICE {
|
||||
ResponseBody ::= CHOICE {
|
||||
error [0] Error,
|
||||
ack [1] NULL,
|
||||
prioritizedActivities [2] SEQUENCE OF PrioritizedActivity
|
||||
}
|
||||
|
||||
Response ::= SEQUENCE {
|
||||
transactionId INTEGER,
|
||||
body ResponseBody
|
||||
}
|
||||
|
||||
END
|
||||
|
||||
Reference in New Issue
Block a user