InnerNotification
public abstract class InnerNotification<Type, Extension> extends Object
Constructors
Name | Description |
---|---|
public InnerNotification()
|
Methods
getExtensionType
protected abstract <ProtoNotification extends ExtendableMessage>
ReturnValue
Name | Description |
---|---|
|
extract
public <ProtoNotification extends ExtendableMessage>Type extract(ProtoNotification notification)
Extracts the payload from the notification. Returns null of the notification is not the expected notification.
Parameters
Name | Description |
---|---|
ProtoNotification notification
|
ReturnValue
Name | Description |
---|---|
Type
|
getNotification
protected abstract Type getNotification(Extension extension)
Parameters
Name | Description |
---|---|
Extension extension
|
ReturnValue
Name | Description |
---|---|
Type
|
Interface for subscribing to notifications from the tag.