public class ServerBoundEvent extends Object implements ServerEvent
| Constructor and Description |
|---|
ServerBoundEvent(Server server)
Creates a new ServerBoundEvent instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
call(ServerListener listener)
Calls the event.
|
Server |
getServer()
Gets the server involved in this event.
|
public ServerBoundEvent(Server server)
server - Server being bound.public Server getServer()
public void call(ServerListener listener)
ServerEventcall in interface ServerEventlistener - Listener to call the event on.Copyright © 2021. All rights reserved.