Back to project page LibGeppa.
The source code is released under:
Apache License
If you think the Android project LibGeppa listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.cattaka.libgeppa.data; //from w w w. j av a 2 s . c o m import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; public interface IPacketFactory<T extends IPacket> { public T readPacket(InputStream in) throws IOException; public void writePacket(OutputStream out, T packet) throws IOException; }