public final class ClientIPCMessage extends AbstractIPCMessage
AbstractIPCMessage.SEPARATORBROADCAST_SERVER, PLACEHOLDER_SERVER, PROXY_SERVER| Constructor and Description |
|---|
ClientIPCMessage(@NotNull String destination,
@NotNull String channel)
Constructs a new
IPCMessage with no data that originates on a
Bukkit server. |
ClientIPCMessage(@NotNull String destination,
@NotNull String channel,
@NotNull List<String> data)
Constructs a new
IPCMessage containing the initial data in the
given List. |
ClientIPCMessage(@NotNull String destination,
@NotNull String channel,
@NotNull Queue<String> data)
Constructs a new
IPCMessage containing the initial data in the
given Queue. |
add, getChannel, getDestination, getOrigin, hasNext, next, toString, validateNotBlank, writepublic ClientIPCMessage(@NotNull
@NotNull String destination,
@NotNull
@NotNull String channel)
throws IllegalArgumentException
IPCMessage with no data that originates on a
Bukkit server.destination - The destination IPCSocket.channel - The channel the IPCMessage will be read by.IllegalArgumentException - If destination and/or
channel are blank.AbstractIPCMessage(String, String, String)public ClientIPCMessage(@NotNull
@NotNull String destination,
@NotNull
@NotNull String channel,
@NotNull
@NotNull List<String> data)
throws IllegalArgumentException
IPCMessage containing the initial data in the
given List. This message originates on a Bukkit server. Order of
the items in the List will be maintained.destination - The destination IPCSocket.channel - The channel the IPCMessage will be read by.data - The initial data as a List. Order will be maintained.IllegalArgumentException - If destination and/or
channel are blank, or if any
element in data is null.AbstractIPCMessage(String, String, String, List)public ClientIPCMessage(@NotNull
@NotNull String destination,
@NotNull
@NotNull String channel,
@NotNull
@NotNull Queue<String> data)
throws IllegalArgumentException
IPCMessage containing the initial data in the
given Queue. This message originates on a Bukkit server. Order of
the items in the Queue will be maintained.destination - The destination IPCSocket.channel - The channel the IPCMessage will be read by.data - The initial data as a Queue. Order will be
maintained.IllegalArgumentException - If destination and/or
channel are blank, or if any
element in data is null.AbstractIPCMessage(String, String, String, Queue)Copyright © 2021 BSPF Systems, LLC. All rights reserved.