Class Notification<T>
- java.lang.Object
-
- org.web3j.protocol.websocket.events.Notification<T>
-
- Type Parameters:
T- type of data return by a particular subscription
- Direct Known Subclasses:
LogNotification,NewHeadsNotification,PendingTransactionNotification,SyncingNotfication
public class Notification<T> extends java.lang.ObjectBase class for WebSocket notifications.
-
-
Constructor Summary
Constructors Constructor Description Notification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetJsonrpc()java.lang.StringgetMethod()NotificationParams<T>getParams()
-
-
-
Method Detail
-
getJsonrpc
public java.lang.String getJsonrpc()
-
getMethod
public java.lang.String getMethod()
-
getParams
public NotificationParams<T> getParams()
-
-