Added a Bloomfilter and fixed some bugs
This commit is contained in:
parent
9e3de28d45
commit
017a27931a
8 changed files with 425 additions and 24 deletions
|
|
@ -1,4 +1,4 @@
|
|||
package zutil.network.nio.service;
|
||||
package zutil.network.nio.service.chat;
|
||||
|
||||
/**
|
||||
* Tis is a listener class for new chat messages
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package zutil.network.nio.service;
|
||||
package zutil.network.nio.service.chat;
|
||||
|
||||
import java.nio.channels.SocketChannel;
|
||||
import java.util.HashMap;
|
||||
|
|
@ -8,6 +8,7 @@ import zutil.MultiPrintStream;
|
|||
import zutil.network.nio.NioNetwork;
|
||||
import zutil.network.nio.message.ChatMessage;
|
||||
import zutil.network.nio.message.Message;
|
||||
import zutil.network.nio.service.NetworkService;
|
||||
|
||||
public class ChatService extends NetworkService{
|
||||
private HashMap<String,LinkedList<SocketChannel>> rooms;
|
||||
Loading…
Add table
Add a link
Reference in a new issue