Package system.servicemodel.channels
Class IReplySessionChannelImplementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.servicemodel.channels.IReplySessionChannelImplementation
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IChannel
,IReplyChannel
,IReplySessionChannel
,ICommunicationObject
public class IReplySessionChannelImplementation extends NetObject implements IReplySessionChannel
The base .NET class managing System.ServiceModel.Channels.IReplySessionChannel, 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.IReplySessionChannel
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.IReplySessionChannelstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description IReplySessionChannelImplementation(java.lang.Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToString
-
-
-
-
Field Detail
-
assemblyFullName
public 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
public static final java.lang.String assemblyShortName
Assembly name: System.ServiceModel- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ServiceModel.Channels.IReplySessionChannel- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIChannel
- Specified by:
getJCOAssemblyName
in interfaceICommunicationObject
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIReplyChannel
- Specified by:
getJCOAssemblyName
in interfaceIReplySessionChannel
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIChannel
- Specified by:
getJCOClassName
in interfaceICommunicationObject
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIReplyChannel
- Specified by:
getJCOClassName
in interfaceIReplySessionChannel
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIChannel
- Specified by:
getJCOObjectName
in interfaceICommunicationObject
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIReplyChannel
- Specified by:
getJCOObjectName
in interfaceIReplySessionChannel
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIChannel
- Specified by:
getJCOInstance
in interfaceICommunicationObject
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIReplyChannel
- Specified by:
getJCOInstance
in interfaceIReplySessionChannel
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIChannel
- Specified by:
getJCOType
in interfaceICommunicationObject
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIReplyChannel
- Specified by:
getJCOType
in interfaceIReplySessionChannel
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
ToIReplySessionChannel
public static IReplySessionChannel ToIReplySessionChannel(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoIReplySessionChannel
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
IReplySessionChannel
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
EndTryReceiveRequest
public boolean EndTryReceiveRequest(IAsyncResult result, JCORefOut<RequestContext> context) throws java.lang.Throwable
- Specified by:
EndTryReceiveRequest
in interfaceIReplyChannel
- Throws:
java.lang.Throwable
-
EndWaitForRequest
public boolean EndWaitForRequest(IAsyncResult result) throws java.lang.Throwable
- Specified by:
EndWaitForRequest
in interfaceIReplyChannel
- Throws:
java.lang.Throwable
-
TryReceiveRequest
public boolean TryReceiveRequest(TimeSpan timeout, JCORefOut<RequestContext> context) throws java.lang.Throwable
- Specified by:
TryReceiveRequest
in interfaceIReplyChannel
- Throws:
java.lang.Throwable
-
WaitForRequest
public boolean WaitForRequest(TimeSpan timeout) throws java.lang.Throwable
- Specified by:
WaitForRequest
in interfaceIReplyChannel
- Throws:
java.lang.Throwable
-
BeginClose
public IAsyncResult BeginClose(AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Specified by:
BeginClose
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
BeginClose
public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Specified by:
BeginClose
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
BeginOpen
public IAsyncResult BeginOpen(AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Specified by:
BeginOpen
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
BeginOpen
public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Specified by:
BeginOpen
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
BeginReceiveRequest
public IAsyncResult BeginReceiveRequest(AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Specified by:
BeginReceiveRequest
in interfaceIReplyChannel
- Throws:
java.lang.Throwable
-
BeginReceiveRequest
public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Specified by:
BeginReceiveRequest
in interfaceIReplyChannel
- Throws:
java.lang.Throwable
-
BeginTryReceiveRequest
public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Specified by:
BeginTryReceiveRequest
in interfaceIReplyChannel
- Throws:
java.lang.Throwable
-
BeginWaitForRequest
public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Specified by:
BeginWaitForRequest
in interfaceIReplyChannel
- Throws:
java.lang.Throwable
-
EndReceiveRequest
public RequestContext EndReceiveRequest(IAsyncResult result) throws java.lang.Throwable
- Specified by:
EndReceiveRequest
in interfaceIReplyChannel
- Throws:
java.lang.Throwable
-
ReceiveRequest
public RequestContext ReceiveRequest() throws java.lang.Throwable
- Specified by:
ReceiveRequest
in interfaceIReplyChannel
- Throws:
java.lang.Throwable
-
ReceiveRequest
public RequestContext ReceiveRequest(TimeSpan timeout) throws java.lang.Throwable
- Specified by:
ReceiveRequest
in interfaceIReplyChannel
- Throws:
java.lang.Throwable
-
Abort
public void Abort() throws java.lang.Throwable
- Specified by:
Abort
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
Close
public void Close() throws java.lang.Throwable
- Specified by:
Close
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
Close
public void Close(TimeSpan timeout) throws java.lang.Throwable
- Specified by:
Close
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
EndClose
public void EndClose(IAsyncResult result) throws java.lang.Throwable
- Specified by:
EndClose
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
EndOpen
public void EndOpen(IAsyncResult result) throws java.lang.Throwable
- Specified by:
EndOpen
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
Open
public void Open() throws java.lang.Throwable
- Specified by:
Open
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
Open
public void Open(TimeSpan timeout) throws java.lang.Throwable
- Specified by:
Open
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
getState
public CommunicationState getState() throws java.lang.Throwable
- Specified by:
getState
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
getLocalAddress
public EndpointAddress getLocalAddress() throws java.lang.Throwable
- Specified by:
getLocalAddress
in interfaceIReplyChannel
- Throws:
java.lang.Throwable
-
addClosed
public void addClosed(EventHandler handler) throws java.lang.Throwable
- Specified by:
addClosed
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
removeClosed
public void removeClosed(EventHandler handler) throws java.lang.Throwable
- Specified by:
removeClosed
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
addClosing
public void addClosing(EventHandler handler) throws java.lang.Throwable
- Specified by:
addClosing
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
removeClosing
public void removeClosing(EventHandler handler) throws java.lang.Throwable
- Specified by:
removeClosing
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
addFaulted
public void addFaulted(EventHandler handler) throws java.lang.Throwable
- Specified by:
addFaulted
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
removeFaulted
public void removeFaulted(EventHandler handler) throws java.lang.Throwable
- Specified by:
removeFaulted
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
addOpened
public void addOpened(EventHandler handler) throws java.lang.Throwable
- Specified by:
addOpened
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
removeOpened
public void removeOpened(EventHandler handler) throws java.lang.Throwable
- Specified by:
removeOpened
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
addOpening
public void addOpening(EventHandler handler) throws java.lang.Throwable
- Specified by:
addOpening
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
removeOpening
public void removeOpening(EventHandler handler) throws java.lang.Throwable
- Specified by:
removeOpening
in interfaceICommunicationObject
- Throws:
java.lang.Throwable
-
-