Package net.md_5.bungee.api.event
Class TargetedEvent
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Event
-
- net.md_5.bungee.api.event.TargetedEvent
-
- Direct Known Subclasses:
ChatEvent,PluginMessageEvent,ProxyDefineCommandsEvent,TabCompleteEvent,TabCompleteResponseEvent
public abstract class TargetedEvent extends Event
An event which occurs in the communication between two nodes.
-
-
Constructor Summary
Constructors Constructor Description TargetedEvent(Connection sender, Connection receiver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)ConnectiongetReceiver()Receiver of the action.ConnectiongetSender()Creator of the action.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
TargetedEvent
public TargetedEvent(Connection sender, Connection receiver)
-
-
Method Detail
-
getSender
public Connection getSender()
Creator of the action.
-
getReceiver
public Connection getReceiver()
Receiver of the action.
-
canEqual
protected boolean canEqual(Object other)
-
-