public class ServerInfo extends Object implements Serializable
TODO: This is badly named. Should be ServerComponentInfo.
Constructor and Description |
---|
ServerInfo(Address address,
ClientHandlerResolver<?>[] resolvers)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Address |
getAddress()
Get the address of this component.
|
ClientHandlerResolver<?>[] |
getClientResolvers()
Get the factories that should be used to create handlers
to talk to the server.
|
String |
getId()
Get the id of the component.
|
public ServerInfo(Address address, ClientHandlerResolver<?>[] resolvers)
id
- The id, can be null.url
- The url, must not be null.consoleId
- The console id, must not be null.resolvers
- Array of suported interfaces. Must not be null.public String getId()
public ClientHandlerResolver<?>[] getClientResolvers()
public Address getAddress()