mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Added events
This commit is contained in:
@@ -18,6 +18,26 @@ public class Events {
|
||||
*/
|
||||
public record OnChangingServerBackend(Server.ServerBackend backend) {}
|
||||
|
||||
/**
|
||||
* Triggers changing the server ip.
|
||||
*/
|
||||
public record changeServerIp(String ip) {}
|
||||
|
||||
/**
|
||||
* Triggers on changing the server ip.
|
||||
*/
|
||||
public record OnChangingServerIp(String ip) {}
|
||||
|
||||
/**
|
||||
* Triggers changing the server port.
|
||||
*/
|
||||
public record changeServerPort(String port) {}
|
||||
|
||||
/**
|
||||
* Triggers on changing the server port.
|
||||
*/
|
||||
public record OnChangingServerPort(String port) {}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user