Class EngineAdminCommandSession

java.lang.Object
io.github.protasm.jvmud.communication.admin.EngineAdminCommandSession
All Implemented Interfaces:
AdminSession, AutoCloseable

public final class EngineAdminCommandSession extends Object implements AdminSession
Engine command language. No mudlib runtime objects or player permissions cross this boundary.
  • Constructor Details

    • EngineAdminCommandSession

      public EngineAdminCommandSession(JVMud engine, AdminRegistry registry)
      Creates one engine administrator's command context after endpoint authentication.
  • Method Details

    • scope

      public String scope()
      Description copied from interface: AdminSession
      Identifies the command scope shown in the console prompt.
      Specified by:
      scope in interface AdminSession
    • execute

      public AdminSession.Reply execute(String line)
      Description copied from interface: AdminSession
      Executes one command and returns its text and whether the conversation remains open.
      Specified by:
      execute in interface AdminSession
    • close

      public void close()
      Runs shutdown after transport has flushed the final reply and closed the command session.
      Specified by:
      close in interface AdminSession
      Specified by:
      close in interface AutoCloseable