public GossipDigestAck2Message deserialize(DataInputStream dis) throws IOException { Map<InetAddress, EndPointState> epStateMap = EndPointStatesSerializationHelper.deserialize(dis); return new GossipDigestAck2Message(epStateMap); }
public void serialize(GossipDigestAck2Message gDigestAck2Message, DataOutputStream dos) throws IOException { /* Use the EndPointState */ EndPointStatesSerializationHelper.serialize(gDigestAck2Message.epStateMap_, dos); }