test_class.declarator: PROPERTIES = new Properties()
test_class.modifier: private static final
test_class.original_string: private static final Properties PROPERTIES = new Properties();
test_class.type: Properties
test_class.var_name: PROPERTIES
test_class.declarator: VTN_SOURCE
test_class.modifier: private static final
test_class.original_string: private static final VtnSessionConfiguration VTN_SOURCE;
test_class.type: VtnSessionConfiguration
test_class.var_name: VTN_SOURCE
test_class.declarator: oadr20bVENEiEventService
test_class.modifier: @Resource
  	private
test_class.original_string: @Resource
  	private Oadr20bVENEiEventService oadr20bVENEiEventService;
test_class.type: Oadr20bVENEiEventService
test_class.var_name: oadr20bVENEiEventService
test_class.file: OpenADRServerVEN20b/src/test/java/com/avob/openadr/server/oadr20b/ven/service/Oadr20bVENEiEventServiceTest.java
test_class.identifier: Oadr20bVENEiEventServiceTest
test_case.body: @Test
  	public void isKnownEventTest() {
  		String eventId = "event1";
  		OadrEvent createOadrEvent = createOadrEvent(eventId, 0L);
  		assertFalse(oadr20bVENEiEventService.isKnownEvent(VTN_SOURCE, createOadrEvent));
  		oadr20bVENEiEventService.saveOadrEvent(VTN_SOURCE, createOadrEvent);
  		assertTrue(oadr20bVENEiEventService.isKnownEvent(VTN_SOURCE, createOadrEvent));
  		oadr20bVENEiEventService.clearOadrEvents();
  	}
test_case.class_method_signature: Oadr20bVENEiEventServiceTest.isKnownEventTest()
test_case.full_signature: @Test public void isKnownEventTest()
test_case.identifier: isKnownEventTest
test_case.invocations: createOadrEvent assertFalse isKnownEvent saveOadrEvent assertTrue isKnownEvent clearOadrEvents
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void isKnownEventTest()
focal_class.declarator: DISTRIBUTE_EVENT_RESPONSE_DELAY_SECONDS = 1
focal_class.modifier: private static final
focal_class.original_string: private static final long DISTRIBUTE_EVENT_RESPONSE_DELAY_SECONDS = 1;
focal_class.type: long
focal_class.var_name: DISTRIBUTE_EVENT_RESPONSE_DELAY_SECONDS
focal_class.declarator: LOGGER = LoggerFactory.getLogger(Oadr20bVENEiEventService.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(Oadr20bVENEiEventService.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: payloadHandler
focal_class.modifier: @Resource
  	private
focal_class.original_string: @Resource
  	private PayloadHandler payloadHandler;
focal_class.type: PayloadHandler
focal_class.var_name: payloadHandler
focal_class.declarator: multiVtnConfig
focal_class.modifier: @Resource
  	private
focal_class.original_string: @Resource
  	private MultiVtnConfig multiVtnConfig;
focal_class.type: MultiVtnConfig
focal_class.var_name: multiVtnConfig
focal_class.declarator: scheduledExecutorService
focal_class.modifier: @Resource
  	private
focal_class.original_string: @Resource
  	private ScheduledExecutorService scheduledExecutorService;
focal_class.type: ScheduledExecutorService
focal_class.var_name: scheduledExecutorService
focal_class.declarator: listeners
focal_class.modifier: protected
focal_class.original_string: protected List<Oadr20bVENEiEventServiceListener> listeners;
focal_class.type: List<Oadr20bVENEiEventServiceListener>
focal_class.var_name: listeners
focal_class.declarator: oadrEvents = new ConcurrentHashMap<>()
focal_class.modifier: private
focal_class.original_string: private Map<String, Map<String, OadrEvent>> oadrEvents = new ConcurrentHashMap<>();
focal_class.type: Map<String, Map<String, OadrEvent>>
focal_class.var_name: oadrEvents
focal_class.declarator: scheduledTask = new ConcurrentHashMap<>()
focal_class.modifier: private
focal_class.original_string: private Map<String, Map<String, List<ScheduledFuture<?>>>> scheduledTask = new ConcurrentHashMap<>();
focal_class.type: Map<String, Map<String, List<ScheduledFuture<?>>>>
focal_class.var_name: scheduledTask
focal_class.file: OpenADRServerVEN20b/src/main/java/com/avob/openadr/server/oadr20b/ven/service/Oadr20bVENEiEventService.java
focal_class.identifier: Oadr20bVENEiEventService
focal_class.class_method_signature: Oadr20bVENEiEventService.applyPreActiveOadrEventScheduling(VtnSessionConfiguration vtnConfiguration, long now,
  			OadrEvent event)
focal_class.full_signature: private void applyPreActiveOadrEventScheduling(VtnSessionConfiguration vtnConfiguration, long now,
  			OadrEvent event)
focal_class.identifier: applyPreActiveOadrEventScheduling
focal_class.modifiers: private
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration, long now,
  			OadrEvent event)
focal_class.return: void
focal_class.signature: void applyPreActiveOadrEventScheduling(VtnSessionConfiguration vtnConfiguration, long now,
  			OadrEvent event)
focal_class.class_method_signature: Oadr20bVENEiEventService.applyActiveOadrEventScheduling(VtnSessionConfiguration vtnConfiguration, long now, OadrEvent event)
focal_class.full_signature: private void applyActiveOadrEventScheduling(VtnSessionConfiguration vtnConfiguration, long now, OadrEvent event)
focal_class.identifier: applyActiveOadrEventScheduling
focal_class.modifiers: private
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration, long now, OadrEvent event)
focal_class.return: void
focal_class.signature: void applyActiveOadrEventScheduling(VtnSessionConfiguration vtnConfiguration, long now, OadrEvent event)
focal_class.class_method_signature: Oadr20bVENEiEventService.applyOadrEventScheduling(VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.full_signature: private void applyOadrEventScheduling(VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.identifier: applyOadrEventScheduling
focal_class.modifiers: private
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.return: void
focal_class.signature: void applyOadrEventScheduling(VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.class_method_signature: Oadr20bVENEiEventService.processOadrEvent(VtnSessionConfiguration vtnConfiguration, String requestId,
  			OadrEvent event)
focal_class.full_signature: private Optional<EventResponse> processOadrEvent(VtnSessionConfiguration vtnConfiguration, String requestId,
  			OadrEvent event)
focal_class.identifier: processOadrEvent
focal_class.modifiers: private
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration, String requestId,
  			OadrEvent event)
focal_class.return: Optional<EventResponse>
focal_class.signature: Optional<EventResponse> processOadrEvent(VtnSessionConfiguration vtnConfiguration, String requestId,
  			OadrEvent event)
focal_class.class_method_signature: Oadr20bVENEiEventService.oadrDistributeEvent(VtnSessionConfiguration vtnConfiguration, OadrDistributeEventType event)
focal_class.full_signature: public OadrResponseType oadrDistributeEvent(VtnSessionConfiguration vtnConfiguration, OadrDistributeEventType event)
focal_class.identifier: oadrDistributeEvent
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration, OadrDistributeEventType event)
focal_class.return: OadrResponseType
focal_class.signature: OadrResponseType oadrDistributeEvent(VtnSessionConfiguration vtnConfiguration, OadrDistributeEventType event)
focal_class.class_method_signature: Oadr20bVENEiEventService.isKnownEvent(VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.full_signature: public boolean isKnownEvent(VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.identifier: isKnownEvent
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.return: boolean
focal_class.signature: boolean isKnownEvent(VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.class_method_signature: Oadr20bVENEiEventService.isUpdatedEvent(VtnSessionConfiguration vtnConfiguration, String requestId, OadrEvent event)
focal_class.full_signature: public boolean isUpdatedEvent(VtnSessionConfiguration vtnConfiguration, String requestId, OadrEvent event)
focal_class.identifier: isUpdatedEvent
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration, String requestId, OadrEvent event)
focal_class.return: boolean
focal_class.signature: boolean isUpdatedEvent(VtnSessionConfiguration vtnConfiguration, String requestId, OadrEvent event)
focal_class.class_method_signature: Oadr20bVENEiEventService.saveOadrEvent(VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.full_signature: public void saveOadrEvent(VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.identifier: saveOadrEvent
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.return: void
focal_class.signature: void saveOadrEvent(VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.class_method_signature: Oadr20bVENEiEventService.removeAll(VtnSessionConfiguration vtnConfiguration, List<String> eventIdList)
focal_class.full_signature: public void removeAll(VtnSessionConfiguration vtnConfiguration, List<String> eventIdList)
focal_class.identifier: removeAll
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration, List<String> eventIdList)
focal_class.return: void
focal_class.signature: void removeAll(VtnSessionConfiguration vtnConfiguration, List<String> eventIdList)
focal_class.class_method_signature: Oadr20bVENEiEventService.getOadrEvents(VtnSessionConfiguration vtnConfiguration)
focal_class.full_signature: public Map<String, OadrEvent> getOadrEvents(VtnSessionConfiguration vtnConfiguration)
focal_class.identifier: getOadrEvents
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration)
focal_class.return: Map<String, OadrEvent>
focal_class.signature: Map<String, OadrEvent> getOadrEvents(VtnSessionConfiguration vtnConfiguration)
focal_class.class_method_signature: Oadr20bVENEiEventService.putOadrEvents(VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.full_signature: public void putOadrEvents(VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.identifier: putOadrEvents
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.return: void
focal_class.signature: void putOadrEvents(VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_class.class_method_signature: Oadr20bVENEiEventService.getScheduledTask(VtnSessionConfiguration vtnConfiguration, String eventId)
focal_class.full_signature: public List<ScheduledFuture<?>> getScheduledTask(VtnSessionConfiguration vtnConfiguration, String eventId)
focal_class.identifier: getScheduledTask
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration, String eventId)
focal_class.return: List<ScheduledFuture<?>>
focal_class.signature: List<ScheduledFuture<?>> getScheduledTask(VtnSessionConfiguration vtnConfiguration, String eventId)
focal_class.class_method_signature: Oadr20bVENEiEventService.addScheduledTask(VtnSessionConfiguration vtnConfiguration, String eventId, ScheduledFuture<?> task)
focal_class.full_signature: public void addScheduledTask(VtnSessionConfiguration vtnConfiguration, String eventId, ScheduledFuture<?> task)
focal_class.identifier: addScheduledTask
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration, String eventId, ScheduledFuture<?> task)
focal_class.return: void
focal_class.signature: void addScheduledTask(VtnSessionConfiguration vtnConfiguration, String eventId, ScheduledFuture<?> task)
focal_class.class_method_signature: Oadr20bVENEiEventService.cancelScheduledTask(VtnSessionConfiguration vtnConfiguration, String eventId)
focal_class.full_signature: private void cancelScheduledTask(VtnSessionConfiguration vtnConfiguration, String eventId)
focal_class.identifier: cancelScheduledTask
focal_class.modifiers: private
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration, String eventId)
focal_class.return: void
focal_class.signature: void cancelScheduledTask(VtnSessionConfiguration vtnConfiguration, String eventId)
focal_class.class_method_signature: Oadr20bVENEiEventService.findMissingEventID(VtnSessionConfiguration vtnConfiguration, List<String> retrievedIdList)
focal_class.full_signature: public List<String> findMissingEventID(VtnSessionConfiguration vtnConfiguration, List<String> retrievedIdList)
focal_class.identifier: findMissingEventID
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfiguration, List<String> retrievedIdList)
focal_class.return: List<String>
focal_class.signature: List<String> findMissingEventID(VtnSessionConfiguration vtnConfiguration, List<String> retrievedIdList)
focal_class.class_method_signature: Oadr20bVENEiEventService.clearOadrEvents()
focal_class.full_signature: public void clearOadrEvents()
focal_class.identifier: clearOadrEvents
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearOadrEvents()
focal_class.class_method_signature: Oadr20bVENEiEventService.addListener(Oadr20bVENEiEventServiceListener listener)
focal_class.full_signature: public void addListener(Oadr20bVENEiEventServiceListener listener)
focal_class.identifier: addListener
focal_class.modifiers: public
focal_class.parameters: (Oadr20bVENEiEventServiceListener listener)
focal_class.return: void
focal_class.signature: void addListener(Oadr20bVENEiEventServiceListener listener)
focal_class.class_method_signature: Oadr20bVENEiEventService.handle(VtnSessionConfiguration multiConfig, String raw, OadrPayload oadrPayload)
focal_class.full_signature: public Object handle(VtnSessionConfiguration multiConfig, String raw, OadrPayload oadrPayload)
focal_class.identifier: handle
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration multiConfig, String raw, OadrPayload oadrPayload)
focal_class.return: Object
focal_class.signature: Object handle(VtnSessionConfiguration multiConfig, String raw, OadrPayload oadrPayload)
focal_class.class_method_signature: Oadr20bVENEiEventService.request(String username, String payload)
focal_class.full_signature: public String request(String username, String payload)
focal_class.identifier: request
focal_class.modifiers: public
focal_class.parameters: (String username, String payload)
focal_class.return: String
focal_class.signature: String request(String username, String payload)
focal_method.body: public boolean isKnownEvent(VtnSessionConfiguration vtnConfiguration, OadrEvent event) {
  		return getOadrEvents(vtnConfiguration).containsKey(event.getEiEvent().getEventDescriptor().getEventID());
  	}
focal_method.class_method_signature: Oadr20bVENEiEventService.isKnownEvent(VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_method.full_signature: public boolean isKnownEvent(VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_method.identifier: isKnownEvent
focal_method.invocations: containsKey getOadrEvents getEventID getEventDescriptor getEiEvent
focal_method.modifiers: public
focal_method.parameters: (VtnSessionConfiguration vtnConfiguration, OadrEvent event)
focal_method.return: boolean
focal_method.signature: boolean isKnownEvent(VtnSessionConfiguration vtnConfiguration, OadrEvent event)