Class NetworkChannelInitEvent
- java.lang.Object
-
- de.dytanic.cloudnet.driver.event.Event
-
- de.dytanic.cloudnet.driver.event.events.DriverEvent
-
- de.dytanic.cloudnet.driver.event.events.network.NetworkEvent
-
- de.dytanic.cloudnet.driver.event.events.network.NetworkChannelInitEvent
-
- All Implemented Interfaces:
ICancelable
public class NetworkChannelInitEvent extends NetworkEvent implements ICancelable
-
-
Constructor Summary
Constructors Constructor Description NetworkChannelInitEvent(INetworkChannel channel, ChannelType channelType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelTypegetChannelType()booleanisCancelled()voidsetCancelled(boolean cancelled)-
Methods inherited from class de.dytanic.cloudnet.driver.event.events.network.NetworkEvent
getChannel
-
Methods inherited from class de.dytanic.cloudnet.driver.event.events.DriverEvent
getDriver
-
Methods inherited from class de.dytanic.cloudnet.driver.event.Event
isShowDebug
-
-
-
-
Constructor Detail
-
NetworkChannelInitEvent
public NetworkChannelInitEvent(INetworkChannel channel, ChannelType channelType)
-
-
Method Detail
-
getChannelType
public ChannelType getChannelType()
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfaceICancelable
-
setCancelled
public void setCancelled(boolean cancelled)
- Specified by:
setCancelledin interfaceICancelable
-
-