Class EOS_ContinuanceToken

java.lang.Object
com.sun.jna.PointerType
host.anzo.eossdk.eos.sdk.common.EOS_ContinuanceToken
All Implemented Interfaces:
com.sun.jna.NativeMapped

public class EOS_ContinuanceToken extends com.sun.jna.PointerType
A handle to a continuance token
Since:
8/5/2023
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    EOS_ContinuanceToken(com.sun.jna.Pointer address)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieve a null-terminated stringified continuance token from an EOS_ContinuanceToken.

    Methods inherited from class com.sun.jna.PointerType

    equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • EOS_ContinuanceToken

      public EOS_ContinuanceToken(com.sun.jna.Pointer address)
    • EOS_ContinuanceToken

      public EOS_ContinuanceToken()
  • Method Details

    • getString

      public String getString() throws EOSException
      Retrieve a null-terminated stringified continuance token from an EOS_ContinuanceToken.

      To get the required buffer size, call once with OutBuffer set to NULL, InOutBufferLength will contain the buffer size needed. Call again with valid params to get the stringified continuance token which will only contain UTF8-encoded printable characters as well as the null-terminator.

      Returns:
      The continuance token stringified version
      Throws:
      EOSInvalidParametersException - Either OutBuffer or InOutBufferLength were passed as NULL parameters.
      EOSInvalidUserException - The AccountId is invalid and cannot be stringified.
      EOSLimitExceededException - The OutBuffer is not large enough receive the continuance token string. InOutBufferLength contains the required minimum length to perform the operation successfully.
      EOSException