Package system.servicemodel.channels
Interface IDuplexSession
-
- All Superinterfaces:
IInputSession
,IJCOBridgeReflected
,IOutputSession
,ISession
- All Known Implementing Classes:
IDuplexSessionImplementation
public interface IDuplexSession extends IJCOBridgeReflected, IInputSession, ISession, IOutputSession
The base .NET class managing System.ServiceModel.Channels.IDuplexSession, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ServiceModel.Channels.IDuplexSession
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: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.ServiceModelstatic java.lang.String
className
Qualified class name: System.ServiceModel.Channels.IDuplexSession
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description IAsyncResult
BeginCloseOutputSession(AsyncCallback callback, NetObject state)
IAsyncResult
BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, NetObject state)
void
CloseOutputSession()
void
CloseOutputSession(TimeSpan timeout)
void
EndCloseOutputSession(IAsyncResult result)
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 objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class Typestatic IDuplexSession
ToIDuplexSession(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoIDuplexSession
, a cast assert is made to check if types are compatible.
-
-
-
Field Detail
-
assemblyFullName
static final java.lang.String assemblyFullName
Fully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
static final java.lang.String assemblyShortName
Assembly name: System.ServiceModel- See Also:
- Constant Field Values
-
className
static final java.lang.String className
Qualified class name: System.ServiceModel.Channels.IDuplexSession- See Also:
- Constant Field Values
-
-
Method Detail
-
ToIDuplexSession
static IDuplexSession ToIDuplexSession(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoIDuplexSession
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
IDuplexSession
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 interfaceIInputSession
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIOutputSession
- Specified by:
getJCOAssemblyName
in interfaceISession
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
java.lang.String getJCOClassName()
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIInputSession
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIOutputSession
- Specified by:
getJCOClassName
in interfaceISession
- 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 interfaceIInputSession
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIOutputSession
- Specified by:
getJCOObjectName
in interfaceISession
- 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 interfaceIInputSession
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIOutputSession
- Specified by:
getJCOInstance
in interfaceISession
- Returns:
- An
Object
representing the instance of the instantiated Class
-
getJCOType
org.mases.jcobridge.JCType getJCOType()
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIInputSession
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIOutputSession
- Specified by:
getJCOType
in interfaceISession
- Returns:
- A
JCType
representing the Type of the instantiated Class
-
BeginCloseOutputSession
IAsyncResult BeginCloseOutputSession(AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
BeginCloseOutputSession
IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CloseOutputSession
void CloseOutputSession() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CloseOutputSession
void CloseOutputSession(TimeSpan timeout) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
EndCloseOutputSession
void EndCloseOutputSession(IAsyncResult result) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-