public interface JNetServer
| 限定符和类型 | 方法和说明 |
|---|---|
void |
broadCast(Object message) |
JConnection |
getConnection(long id) |
int |
getConnectionCount() |
Set<JConnection> |
getConnections() |
String |
getName() |
boolean |
isActive() |
void |
setName(String name) |
boolean |
start() |
void |
stop() |
boolean start()
void stop()
JConnection getConnection(long id)
Set<JConnection> getConnections()
String getName()
void setName(String name)
void broadCast(Object message)
boolean isActive()
int getConnectionCount()
Copyright © 2020. All rights reserved.