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 boolean
canEqual(Object other)
boolean
equals(Object o)
Connection
getReceiver()
Receiver of the action.Connection
getSender()
Creator of the action.int
hashCode()
String
toString()
-
-
-
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)
-
-