|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NotificationHandler
Interface for handling JSON-RPC 2.0 notifications.
Method Summary | |
---|---|
String[] |
handledNotifications()
Gets the names of the handled JSON-RPC 2.0 notification methods. |
void |
process(com.thetransactioncompany.jsonrpc2.JSONRPC2Notification notification,
MessageContext notificationCtx)
Processes a JSON-RPC 2.0 notification. |
Method Detail |
---|
String[] handledNotifications()
void process(com.thetransactioncompany.jsonrpc2.JSONRPC2Notification notification, MessageContext notificationCtx)
Note that JSON-RPC 2.0 notifications don't produce a response!
notification
- A valid JSON-RPC 2.0 notification instance.
Must not be null
.notificationCtx
- Context information about the notification
message, may be null
if undefined.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |