public class ILeaseImplementation extends NetObject implements ILease
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Remoting.Lifetime.ILease
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: mscorlib
|
static java.lang.String |
className
Qualified class name: System.Runtime.Remoting.Lifetime.ILease
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ILeaseImplementation(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TimeSpan |
getCurrentLeaseTime() |
LeaseState |
getCurrentState() |
TimeSpan |
getInitialLeaseTime() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
TimeSpan |
getRenewOnCallTime() |
TimeSpan |
getSponsorshipTimeout() |
void |
Register(ISponsor obj) |
void |
Register(ISponsor obj,
TimeSpan renewalTime) |
TimeSpan |
Renew(TimeSpan renewalTime) |
void |
setInitialLeaseTime(TimeSpan InitialLeaseTime) |
void |
setRenewOnCallTime(TimeSpan RenewOnCallTime) |
void |
setSponsorshipTimeout(TimeSpan SponsorshipTimeout) |
static ILease |
ToILease(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ILease, a cast assert is made to check if types are compatible. |
void |
Unregister(ISponsor obj) |
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToStringpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ILeaseImplementation(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic TimeSpan getCurrentLeaseTime() throws java.lang.Throwable
getCurrentLeaseTime in interface ILeasejava.lang.Throwablepublic LeaseState getCurrentState() throws java.lang.Throwable
getCurrentState in interface ILeasejava.lang.Throwablepublic TimeSpan getInitialLeaseTime() throws java.lang.Throwable
getInitialLeaseTime in interface ILeasejava.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ILeasegetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ILeasegetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ILeasegetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ILeasegetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ILeasegetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic TimeSpan getRenewOnCallTime() throws java.lang.Throwable
getRenewOnCallTime in interface ILeasejava.lang.Throwablepublic TimeSpan getSponsorshipTimeout() throws java.lang.Throwable
getSponsorshipTimeout in interface ILeasejava.lang.Throwablepublic void Register(ISponsor obj) throws java.lang.Throwable
public void setInitialLeaseTime(TimeSpan InitialLeaseTime) throws java.lang.Throwable
setInitialLeaseTime in interface ILeasejava.lang.Throwablepublic void setRenewOnCallTime(TimeSpan RenewOnCallTime) throws java.lang.Throwable
setRenewOnCallTime in interface ILeasejava.lang.Throwablepublic void setSponsorshipTimeout(TimeSpan SponsorshipTimeout) throws java.lang.Throwable
setSponsorshipTimeout in interface ILeasejava.lang.Throwablepublic static ILease ToILease(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ILease, a cast assert is made to check if types are compatible.ToILease in interface ILeasefrom - IJCOBridgeReflected instance to be castedILease instancejava.lang.Throwable - in case of error during cast operationpublic void Unregister(ISponsor obj) throws java.lang.Throwable
Unregister in interface ILeasejava.lang.Throwable