Class Proxy
java.lang.Object
net.ME1312.SubServers.Bungee.Host.Proxy
- All Implemented Interfaces:
ExtraDataHandler<String>
,ClientHandler
,SubDataSerializable
Proxy Class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
Get the Display Name of this ProxygetExtra()
getName()
Get the Name of this ProxyGet the players on this proxyfinal String
Get the Signature of this Objectboolean
boolean
isMaster()
Determine if the proxy is the Master Proxyfinal void
persist()
Makes it so the proxy object will still exist within the server manager even if it is disconnectedvoid
removeExtra
(String handle) void
removeSubData
(DataClient client) void
setDisplayName
(String value) Sets the Display Name for this Proxyvoid
setSubData
(SubDataClient client, int channel)
-
Constructor Details
-
Proxy
- Throws:
IllegalArgumentException
-
-
Method Details
-
getSubData
- Specified by:
getSubData
in interfaceClientHandler
-
setSubData
-
removeSubData
- Specified by:
removeSubData
in interfaceClientHandler
-
getName
Get the Name of this Proxy- Returns:
- Name
-
getDisplayName
Get the Display Name of this Proxy- Returns:
- Display Name
-
setDisplayName
Sets the Display Name for this Proxy- Parameters:
value
- Value (or null to reset)
-
isMaster
public boolean isMaster()Determine if the proxy is the Master Proxy- Returns:
- Master Proxy Status
-
getPlayers
Get the players on this proxy- Returns:
- Remote Player Collection
-
persist
public final void persist()Makes it so the proxy object will still exist within the server manager even if it is disconnected -
getSignature
Get the Signature of this Object- Returns:
- Object Signature
-
equals
-
addExtra
- Specified by:
addExtra
in interfaceExtraDataHandler<String>
-
hasExtra
- Specified by:
hasExtra
in interfaceExtraDataHandler<String>
-
getExtra
- Specified by:
getExtra
in interfaceExtraDataHandler<String>
-
getExtra
- Specified by:
getExtra
in interfaceExtraDataHandler<String>
-
removeExtra
- Specified by:
removeExtra
in interfaceExtraDataHandler<String>
-
forSubData
- Specified by:
forSubData
in interfaceClientHandler
- Specified by:
forSubData
in interfaceSubDataSerializable
-