@ThreadSafe public abstract class NoticeContext extends HTTPModule.Context
Constructor and Description |
---|
NoticeContext() |
Modifier and Type | Method and Description |
---|---|
Metadata |
getMetadata()
Gets the metadata.
|
protected Logger |
getThisLogger()
Gets the logger.
|
abstract void |
notify(PointValue[] notices)
Queues the supplied point values.
|
boolean |
setUp(Metadata metadata,
KeyedGroups contextProperties)
Sets up this.
|
void |
tearDown()
Tears down what has been set up.
|
getLogID
@Nonnull @CheckReturnValue public final Metadata getMetadata()
public abstract void notify(@Nonnull PointValue[] notices) throws InterruptedException
notices
- The point values.InterruptedException
- When the Service is stopped.@CheckReturnValue public boolean setUp(@Nonnull Metadata metadata, @Nonnull KeyedGroups contextProperties)
metadata
- The metadata.contextProperties
- The context properties.public void tearDown()
@Nonnull @CheckReturnValue protected final Logger getThisLogger()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.