Package net.ME1312.SubData.Server
Class DataServer.Events
java.lang.Object
net.ME1312.SubData.Server.DataServer.Events
- Enclosing class:
- DataServer
SubData Server Event API Class
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
close
(Function<DataServer, Boolean>... callbacks) On Listener Close Eventfinal void
closed
(Consumer<DataServer>... callbacks) On Listener Closed Eventfinal void
connect
(Function<DataClient, Boolean>... callbacks) On Client Connect Event
-
Method Details
-
connect
On Client Connect Event- Parameters:
callbacks
- Callback
-
close
On Listener Close Event- Parameters:
callbacks
- Callback
-
closed
On Listener Closed Event- Parameters:
callbacks
- Callback
-