Interface IDotnetProxyAssociated

All Known Subinterfaces:
IDirectSpaceProxy, ISpaceProxy
All Known Implementing Classes:
AbstractDirectSpaceProxy, AbstractSpaceCacheContainer, AbstractSpaceProxy, LocalCacheContainer, LocalViewContainer, SpaceProxyImpl

public interface IDotnetProxyAssociated
An object that is associated to a .NET AppDomain.
Since:
7.1
Author:
eitany
  • Method Details

    • getAppDomainId

      int getAppDomainId()
      Returns:
      the id of the associated AppDomain, throws an exception if this object is not associated to any AppDomain. hasAssociatedAppDomain()
    • setAppDomainId

      void setAppDomainId(int appDomainId)
      associate this object to the specified AppDomain id
    • hasAssociatedAppDomain

      boolean hasAssociatedAppDomain()
      Returns:
      true if this object is associated to an AppDomain.
    • setDotnetProxyHandleId

      void setDotnetProxyHandleId(long handleId)
      Sets a dotnet proxy handle id
      Parameters:
      handleId - handle id of the proxy
    • isTargetOfADotnetProxy

      boolean isTargetOfADotnetProxy()
      Returns:
      true if this object is a target .NET proxy
    • getDotnetProxyHandleId

      long getDotnetProxyHandleId()
      Returns:
      the handle id of this object that the proxy is using.