Package one.nio.serial.gen
Interface Delegate
-
public interface Delegate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcalcSize(Object obj, CalcSizeStream css)ObjectfromJson(JsonReader in)Objectread(DataStream in)voidskip(DataStream in)voidtoJson(Object obj, StringBuilder builder)voidwrite(Object obj, DataStream out)
-
-
-
Method Detail
-
calcSize
void calcSize(Object obj, CalcSizeStream css) throws IOException
- Throws:
IOException
-
write
void write(Object obj, DataStream out) throws IOException
- Throws:
IOException
-
read
Object read(DataStream in) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
skip
void skip(DataStream in) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
toJson
void toJson(Object obj, StringBuilder builder) throws IOException
- Throws:
IOException
-
fromJson
Object fromJson(JsonReader in) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
-