serialize method

  1. @override
void serialize(
  1. SerializableOutput output
)
override

Interface for output serialization.

Implementation

@override
void serialize(SerializableOutput output) {
  serializeString(output, channelType);
  output.addUint32(senderChannel);
  output.addUint32(initialWinSize);
  output.addUint32(maximumPacketSize);
  serializeString(output, dstHost);
  output.addUint32(dstPort);
  serializeString(output, srcHost);
  output.addUint32(srcPort);
}