package com.wilutions.jsfs; /* * Serializer for com.wilutions.jsfs.BRequest_DispatcherService_registerNotifyService * * THIS FILE HAS BEEN GENERATED BY class byps.gen.j.GenSerStruct DO NOT MODIFY. */ import byps.*; // DEBUG // isEnum=false // isFinal=true // isInline=false // #members=2 // checkpoint byps.gen.j.GenSerStruct:274 @SuppressWarnings("all") public class BSerializer_1849102471 extends BSerializer { public final static BSerializer instance = new BSerializer_1849102471(); public BSerializer_1849102471() { super(1849102471); } public BSerializer_1849102471(int typeId) { super(typeId); } @Override public void write(final Object obj1, final BOutput bout1, final long version) throws BException { final BRequest_DispatcherService_registerNotifyService obj = (BRequest_DispatcherService_registerNotifyService)obj1; final BOutputBin bout = (BOutputBin)bout1; final BBufferBin bbuf = bout.bbuf; bbuf.putString(obj.token); bout.writeObj(obj.service, false, null); } @Override public Object read(final Object obj1, final BInput bin1, final long version) throws BException { final BInputBin bin = (BInputBin)bin1; final BRequest_DispatcherService_registerNotifyService obj = (BRequest_DispatcherService_registerNotifyService)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_DispatcherService_registerNotifyService())); final BBufferBin bbuf = bin.bbuf; obj.token = bbuf.getString(); obj.service = (com.wilutions.jsfs.FileSystemNotify)bin.readObj(false, null); return obj; } }