@Override protected void serializeW(PackageOutputStreamWriter writer) throws ProtocolException { super.serializeW(writer); try { date.serializeContent(writer); time.serializeContent(writer); } catch (Exception e) { throw new ProtocolException(e); } }
@Override protected void deserializeW(PackageInputStreamReader reader) throws ProtocolException { super.deserializeW(reader); try { date = new DatePackage(); date.deserializeContent(reader); time = new TimePackage(); time.deserializeContent(reader); } catch (Exception e) { throw new ProtocolException(e); } }