public interface ChannelBinding
ChannelRegistrar
. The channel
can be used to send and receive data. If this binding is removed by
ChannelRegistrar.unbindChannel(org.spongepowered.api.network.ChannelBinding)
, all methods will throw
IllegalStateException
.Modifier and Type | Interface and Description |
---|---|
static interface |
ChannelBinding.IndexedMessageChannel
Represents a channel binding that sends and receives messages.
|
static interface |
ChannelBinding.RawDataChannel
Represents a channel that sends and receives raw data.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets this channel's bound name.
|
PluginContainer |
getOwner()
Gets the plugin that created this binding.
|
ChannelRegistrar |
getRegistrar()
Gets the registrar that this channel is bound to.
|
ChannelRegistrar getRegistrar()
String getName()
PluginContainer getOwner()