Class ApiVersion

  • All Implemented Interfaces:
    EventData

    public class ApiVersion
    extends java.lang.Object
    implements EventData
    ApiVersion is always the first event emitted when a new client connects to the SSE server. It specifies the API version of the server. The ApiVersion is the protocol version of a node on the Casper platform.
    • Constructor Detail

      • ApiVersion

        public ApiVersion​(java.lang.String apiVersion)
      • ApiVersion

        public ApiVersion()
    • Method Detail

      • getApiVersion

        public java.lang.String getApiVersion()
      • setApiVersion

        public void setApiVersion​(java.lang.String apiVersion)