public final class ControlCommandEvent extends EventObject
It has only one public class member named getControlCommand. This member is a method, which just returns the sent packet.
This class is fully threadsafe.
source| Constructor and Description |
|---|
ControlCommandEvent(Object source,
ControlCommand controlCommand)
Creates and initializes a ControlCommandEvent instance.
|
| Modifier and Type | Method and Description |
|---|---|
ControlCommand |
getControlCommand()
Returns the ControlCommand packet, which has just been sent.
|
getSource, toStringpublic ControlCommandEvent(Object source, ControlCommand controlCommand)
source - The object which fired the eventcontrolCommand - The ControlCommand which has just been sentpublic ControlCommand getControlCommand()
Copyright © 2023. All rights reserved.