Package top.focess.qq.core.net
Class ASocket
- java.lang.Object
-
- top.focess.qq.core.net.ASocket
-
- All Implemented Interfaces:
Socket
- Direct Known Subclasses:
FocessSidedClientSocket,FocessSidedSocket,FocessSocket,FocessUDPSocket
public abstract class ASocket extends Object implements Socket
-
-
Constructor Summary
Constructors Constructor Description ASocket()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidregisterReceiver(Receiver receiver)Register packet receiver for this socketvoidunregister(Plugin plugin)Unregister the packet-handlers of the plugin-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface top.focess.qq.api.net.Socket
close, containsClientSide, containsServerSide
-
-
-
-
Method Detail
-
registerReceiver
public void registerReceiver(Receiver receiver)
Description copied from interface:SocketRegister packet receiver for this socket- Specified by:
registerReceiverin interfaceSocket- Parameters:
receiver- the packet receiver for this socket
-
unregister
public void unregister(Plugin plugin)
Description copied from interface:SocketUnregister the packet-handlers of the plugin- Specified by:
unregisterin interfaceSocket- Parameters:
plugin- the plugin
-
-