public interface ILease extends IJCOBridgeReflected
.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
|
| 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) |
static final java.lang.String assemblyFullName
static final java.lang.String assemblyShortName
static final java.lang.String className
TimeSpan getCurrentLeaseTime() throws java.lang.Throwable
java.lang.ThrowableLeaseState getCurrentState() throws java.lang.Throwable
java.lang.ThrowableTimeSpan getInitialLeaseTime() throws java.lang.Throwable
java.lang.Throwablejava.lang.String getJCOAssemblyName()
getJCOAssemblyName in interface IJCOBridgeReflectedString representing the Fullname of reflected Assemblyjava.lang.String getJCOClassName()
getJCOClassName in interface IJCOBridgeReflectedString representing the Fullname of reflected Classjava.lang.Object getJCOInstance()
getJCOInstance in interface IJCOBridgeReflectedObject representing the instance of the instantiated Classjava.lang.String getJCOObjectName()
getJCOObjectName in interface IJCOBridgeReflectedString representing the name used to allocated the object
in CLR contextJCType getJCOType()
getJCOType in interface IJCOBridgeReflectedJCType representing the Type of the instantiated ClassTimeSpan getRenewOnCallTime() throws java.lang.Throwable
java.lang.ThrowableTimeSpan getSponsorshipTimeout() throws java.lang.Throwable
java.lang.Throwablevoid Register(ISponsor obj) throws java.lang.Throwable
java.lang.Throwablevoid Register(ISponsor obj, TimeSpan renewalTime) throws java.lang.Throwable
java.lang.Throwablevoid setInitialLeaseTime(TimeSpan InitialLeaseTime) throws java.lang.Throwable
java.lang.Throwablevoid setRenewOnCallTime(TimeSpan RenewOnCallTime) throws java.lang.Throwable
java.lang.Throwablevoid setSponsorshipTimeout(TimeSpan SponsorshipTimeout) throws java.lang.Throwable
java.lang.Throwablestatic ILease ToILease(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ILease, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedILease instancejava.lang.Throwable - in case of error during cast operationvoid Unregister(ISponsor obj) throws java.lang.Throwable
java.lang.Throwable