Exemplo n.º 1
0
 public void serialize(OutputBuffer buf) throws IOException {
   boolean hasSource = (source != null);
   buf.writeBoolean(hasSource);
   if (hasSource) source.serialize(buf);
   topic.serialize(buf);
 }