com.aiyc.server.standalone.longwait
接口 Server
- 所有已知实现类:
- AloneServer
public interface Server
start
void start()
destory
void destory()
isStart
boolean isStart()
getClients
List<Client> getClients()
addSokect
void addSokect(Client socket)
removeSokect
void removeSokect(Client socket)
removeSokect
void removeSokect(String ip,
int port)
removeSokect
void removeSokect(int id)
getSokect
Client getSokect(int id)
getSokect
Client getSokect(String ip,
int port)
getSokect
Client getSokect(String userNo)
sendMsg
void sendMsg(Socket socket,
byte[] b)
sendAll
void sendAll(byte[] b)
getPort
int getPort()
addNotify
void addNotify(Notifyer er)
startNotify
void startNotify()
throws NotifyException
- 抛出:
NotifyException
Copyright © 2017. All Rights Reserved.