Class NotificationParams<T>
- java.lang.Object
-
- org.web3j.protocol.websocket.events.NotificationParams<T>
-
- Type Parameters:
T
- type of data return by a particular subscription
public class NotificationParams<T> extends java.lang.Object
Generic class for a notification param. Contains a subscription id and a data item.
-
-
Constructor Summary
Constructors Constructor Description NotificationParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getResult()
java.lang.String
getSubsciption()
-
-
-
Method Detail
-
getResult
public T getResult()
-
getSubsciption
public java.lang.String getSubsciption()
-
-