Search in sources :

Example 1 with SecurityRejectPacket

use of me.retrodaredevil.solarthing.commands.event.SecurityRejectPacket in project solarthing by wildmountainfarms.

the class SecurityPacketReceiver method reject.

private void reject(StoredPacketGroup storedPacketGroup, SecurityRejectPacket.Reason reason, String moreInfo) {
    SecurityRejectPacket packet = new ImmutableSecurityRejectPacket(storedIdentifierToDocumentId(storedPacketGroup.getStoredIdentifier()), reason, moreInfo);
    uploadSecurityEventPacket(packet);
}
Also used : ImmutableSecurityRejectPacket(me.retrodaredevil.solarthing.commands.event.ImmutableSecurityRejectPacket) SecurityRejectPacket(me.retrodaredevil.solarthing.commands.event.SecurityRejectPacket) ImmutableSecurityRejectPacket(me.retrodaredevil.solarthing.commands.event.ImmutableSecurityRejectPacket)

Aggregations

ImmutableSecurityRejectPacket (me.retrodaredevil.solarthing.commands.event.ImmutableSecurityRejectPacket)1 SecurityRejectPacket (me.retrodaredevil.solarthing.commands.event.SecurityRejectPacket)1