Class Proxy
java.lang.Object
net.ME1312.SubServers.Bungee.Host.Proxy
- All Implemented Interfaces:
ExtraDataHandler<String>,ClientHandler,SubDataSerializable
Proxy Class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanGet the Display Name of this ProxygetExtra()getName()Get the Name of this ProxyGet the players on this proxyfinal StringGet the Signature of this ObjectbooleanbooleanisMaster()Determine if the proxy is the Master Proxyfinal voidpersist()Makes it so the proxy object will still exist within the server manager even if it is disconnectedvoidremoveExtra(String handle) voidremoveSubData(DataClient client) voidsetDisplayName(String value) Sets the Display Name for this ProxyvoidsetSubData(SubDataClient client, int channel)
-
Constructor Details
-
Proxy
- Throws:
IllegalArgumentException
-
-
Method Details
-
getSubData
- Specified by:
getSubDatain interfaceClientHandler
-
setSubData
-
removeSubData
- Specified by:
removeSubDatain 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:
addExtrain interfaceExtraDataHandler<String>
-
hasExtra
- Specified by:
hasExtrain interfaceExtraDataHandler<String>
-
getExtra
- Specified by:
getExtrain interfaceExtraDataHandler<String>
-
getExtra
- Specified by:
getExtrain interfaceExtraDataHandler<String>
-
removeExtra
- Specified by:
removeExtrain interfaceExtraDataHandler<String>
-
forSubData
- Specified by:
forSubDatain interfaceClientHandler- Specified by:
forSubDatain interfaceSubDataSerializable
-