[rfc3195] Framing problems

Peter Hall whiz100 at hotmail.com
Thu Oct 27 20:34:38 CEST 2005



Can someone tell me which of the below is correct. I'm questioning the msgno
on RPY and ERR. I believe example 1 is correct as is msgno RPY matches the
MSG msgno good message and the msgno ERR matches the MSG msgno from the bad
message.

BEEP FRAMING =
 HEADER SP common

Common = channel SP msgno SP more SP seqno SP size
HEADER = msg / rpy / ans /err etc...



------ example 1 -----


I:MSG 0 4 . 434 210
Content-Type: application/beep+xml
 
<start number="5" ><profile
uri="http://xml.resource.org/profiles/syslog/COOKED"><![CDATA[<iam
fqdn='paul.debug.local' ip='127.0.0.1' type='device' />
]]></profile></start>END
L:RPY 0 4 . 875 130
Content-Type: application/beep+xml
 
<profile uri="http://xml.resource.org/profiles/syslog/COOKED"><![CDATA[<ok
/>]]></profile>
END
I:MSG 5 0 . 0 44
Content-Type: application/beep+xml
 
plop23END
I:MSG 5 1 . 44 169
Content-Type: application/beep+xml
 
<entry facility='8' severity='6' hostname='paul.debug.local' timestamp='Oct
27 08:27:00'><![CDATA[<a>some large data</a>]]></entry>END
L:ERR 5 0 . 0 115
Content-Type: application/beep+xml
 
<error code='500'><![CDATA[Unreconized Tag expecting entry or
path]]></error>END
L:RPY 5 1 . 115 43
Content-Type: application/beep+xml
 
<ok/>END




------ example 2 ------


I:MSG 0 1 . 50 214
Content-Type: application/beep+xml
 
<start number="1" ><profile
uri="http://xml.resource.org/profiles/syslog/COOKED"><![CDATA[<iam
fqdn='paul.debug.local' ip='192.168.0.103' type='device' />
]]></profile></start>END
L:RPY 0 1 . 198 104
Content-Type: application/beep+xml
 
<profile uri='http://xml.resource.org/profiles/syslog/COOKED' />
END
I:MSG 1 0 . 0 42
Content-Type: application/beep+xml
 
plopEND
I:MSG 1 1 . 42 169
Content-Type: application/beep+xml
 
<entry facility='8' severity='6' hostname='paul.debug.local' timestamp='Oct
27 08:27:00'><![CDATA[<a>some large data</a>]]></entry>END
L:ERR 1 0 . 0 93
Content-Type: application/beep+xml
 
<error code='500'><![CDATA[Unreconized Tag]]></error>
END
L:RPY 1 0 . 93 43
Content-Type: application/beep+xml
 
<ok/>END




More information about the rfc3195 mailing list