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.passive; /* ww w . java2s .com*/ import net.cattaka.libgeppa.data.IPacket; import net.cattaka.libgeppa.data.IPacketFactory; import net.cattaka.libgeppa.thread.ConnectionThread; import net.cattaka.libgeppa.thread.IConnectionThreadListener; import android.content.Context; public interface IPassiveReceiver<T extends IPacket> { public void onCreateService(Context context, IPacketFactory<T> packetFactory); public void teardown(); public ConnectionThread<T> createConnectionThread( IConnectionThreadListener<T> connectionThreadListener); }