Encode a Erect Domain Request PDU :param stream: The destination stream to write into. :param pdu: the PDU to encode.
(self, stream: BytesIO, pdu: MCSErectDomainRequestPDU)
| 317 | stream.write(allData) |
| 318 | |
| 319 | def writeErectDomainRequest(self, stream: BytesIO, pdu: MCSErectDomainRequestPDU): |
| 320 | """ |
| 321 | Encode a Erect Domain Request PDU |
| 322 | :param stream: The destination stream to write into. |
| 323 | :param pdu: the PDU to encode. |
| 324 | """ |
| 325 | stream.write(per.writeInteger(pdu.subHeight)) |
| 326 | stream.write(per.writeInteger(pdu.subInterval)) |
| 327 | stream.write(pdu.payload) |
| 328 | |
| 329 | def writeDisconnectProviderUltimatum(self, stream: BytesIO, pdu: MCSDisconnectProviderUltimatumPDU): |
| 330 | """ |