Class ShareDelegate

java.lang.Object
com.cbe.delegate.ShareDelegate

public class ShareDelegate extends Object
Delegate class for the asynchronous version of methods:

  • cbe::Container::share
  • cbe::Object::share
  • Constructor Details

    • ShareDelegate

      public ShareDelegate(long cPtr, boolean cMemoryOwn)
    • ShareDelegate

      public ShareDelegate()
  • Method Details

    • getCPtr

      public static long getCPtr(ShareDelegate obj)
    • swigSetCMemOwn

      public void swigSetCMemOwn(boolean own)
    • finalize

      public void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • swigDirectorDisconnect

      public void swigDirectorDisconnect()
    • swigReleaseOwnership

      public void swigReleaseOwnership()
    • swigTakeOwnership

      public void swigTakeOwnership()
    • onShareSuccess

      public void onShareSuccess(long shareId)
      Called upon successful share.
      Parameters:
      shareId - Id of the share.

      Can be used when unsharing.

      See anchorMr__cbe__Object__unshareAsync
      "Asynchronous version of cbe::Object::unshare()"
    • onShareError

      public void onShareError(Error error, Context context)
      Called if an error is encountered.