Interface ISecurityProvider

All Superinterfaces:
IGridNodeService

public interface ISecurityProvider extends IGridNodeService
Implemented on Security Terminal to interface with security service.
  • Method Details

    • getSecurityKey

      long getSecurityKey()
      used to represent the security key for the network, should be based on a unique timestamp.
      Returns:
      unique key.
    • readPermissions

      void readPermissions(Map<Integer,EnumSet<SecurityPermissions>> playerPerms)
      Push permission data into security service.
      Parameters:
      playerPerms - player permissions
    • isSecurityEnabled

      boolean isSecurityEnabled()
      Returns:
      is security on or off?
    • getOwner

      int getOwner()
      Returns:
      player ID for who placed the security provider.