Interface Server<C extends Remote,A extends ServerAdmin>

Type Parameters:
C - the type of remote interface this server supplies to clients
A - the type of the admin interface this server supplies
All Superinterfaces:
Remote
All Known Implementing Classes:
AbstractServer, EntityServer

public interface Server<C extends Remote,A extends ServerAdmin> extends Remote
A server for serving remote interfaces
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Locates Servers by name on a registry.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Specifies the client host connection parameter
  • Method Summary

    Modifier and Type
    Method
    Description
    admin(User user)
    Returns the admin interface used to administer this server
    connect(ConnectionRequest connectionRequest)
    Establishes a connection to this Server
    boolean
     
    void
    disconnect(UUID clientId)
    Disconnects the connection identified by the given id.