Modifier and Type | Method and Description |
---|---|
static Hint |
createHint(HintType type)
Creates a hint with the specified type.
|
static Hint |
createHint(HintType type,
Class<? extends SequencedPacketListener> cls)
Creates a hint that describes the implementing class of a packet
listener.
|
static Hint |
createHint(int experType)
Creates an experimenter hint for the specified experimenter-defined
type.
|
static Hint |
createHint(int experType,
ExperimenterHint.Payload payload)
Creates an experimenter hint for the specified experimenter-defined
type and given payload.
|
public static Hint createHint(HintType type)
type
- the hint typepublic static Hint createHint(HintType type, Class<? extends SequencedPacketListener> cls)
type
- must be HintType.HANDLERcls
- the packet listener classpublic static Hint createHint(int experType)
experType
- the experimenter-defined typepublic static Hint createHint(int experType, ExperimenterHint.Payload payload)
experType
- the experimenter-defined typepayload
- the experimenter payloadCopyright © 2015. All Rights Reserved.