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 SummaryConstructors Constructor Description TargetedEvent(Connection sender, Connection receiver)
 - 
Method SummaryAll 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- 
TargetedEventpublic TargetedEvent(Connection sender, Connection receiver) 
 
- 
 - 
Method Detail- 
getSenderpublic Connection getSender() Creator of the action.
 - 
getReceiverpublic Connection getReceiver() Receiver of the action.
 - 
canEqualprotected boolean canEqual(Object other) 
 
- 
 
-