Package system.runtime.remoting.lifetime
Interface ILease
-
- All Superinterfaces:
IJCOBridgeReflected
- All Known Implementing Classes:
ILeaseImplementation
public interface ILease extends IJCOBridgeReflected
The base .NET class managing System.Runtime.Remoting.Lifetime.ILease, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: mscorlibstatic java.lang.String
className
Qualified class name: System.Runtime.Remoting.Lifetime.ILease
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description TimeSpan
getCurrentLeaseTime()
LeaseState
getCurrentState()
TimeSpan
getInitialLeaseTime()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeTimeSpan
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 theIJCOBridgeReflected
instance intoILease
, a cast assert is made to check if types are compatible.void
Unregister(ISponsor obj)
-
-
-
Field Detail
-
assemblyFullName
static final java.lang.String assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
static final java.lang.String assemblyShortName
Assembly name: mscorlib- See Also:
- Constant Field Values
-
className
static final java.lang.String className
Qualified class name: System.Runtime.Remoting.Lifetime.ILease- See Also:
- Constant Field Values
-
-
Method Detail
-
ToILease
static ILease ToILease(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoILease
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ILease
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getJCOAssemblyName
java.lang.String getJCOAssemblyName()
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
java.lang.String getJCOClassName()
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
java.lang.String getJCOObjectName()
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
java.lang.Object getJCOInstance()
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Returns:
- An
Object
representing the instance of the instantiated Class
-
getJCOType
JCType getJCOType()
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Returns:
- A
JCType
representing the Type of the instantiated Class
-
Register
void Register(ISponsor obj) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Register
void Register(ISponsor obj, TimeSpan renewalTime) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Unregister
void Unregister(ISponsor obj) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCurrentState
LeaseState getCurrentState() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCurrentLeaseTime
TimeSpan getCurrentLeaseTime() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getInitialLeaseTime
TimeSpan getInitialLeaseTime() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setInitialLeaseTime
void setInitialLeaseTime(TimeSpan InitialLeaseTime) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getRenewOnCallTime
TimeSpan getRenewOnCallTime() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRenewOnCallTime
void setRenewOnCallTime(TimeSpan RenewOnCallTime) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSponsorshipTimeout
TimeSpan getSponsorshipTimeout() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSponsorshipTimeout
void setSponsorshipTimeout(TimeSpan SponsorshipTimeout) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-