Package system.servicemodel.channels
Class IChannelListenerImplementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.servicemodel.channels.IChannelListenerImplementation
-
- All Implemented Interfaces:
IJCOBridgeReflected,IChannelListener,ICommunicationObject
public class IChannelListenerImplementation extends NetObject implements IChannelListener
The base .NET class managing System.ServiceModel.Channels.IChannelListener, 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.IChannelListener
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.StringassemblyFullNameFully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.ServiceModelstatic java.lang.StringclassNameQualified class name: System.ServiceModel.Channels.IChannelListenerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description IChannelListenerImplementation(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAbort()voidaddClosed(EventHandler handler)voidaddClosing(EventHandler handler)voidaddFaulted(EventHandler handler)voidaddOpened(EventHandler handler)voidaddOpening(EventHandler handler)IAsyncResultBeginClose(AsyncCallback callback, NetObject state)IAsyncResultBeginClose(TimeSpan timeout, AsyncCallback callback, NetObject state)IAsyncResultBeginOpen(AsyncCallback callback, NetObject state)IAsyncResultBeginOpen(TimeSpan timeout, AsyncCallback callback, NetObject state)IAsyncResultBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, NetObject state)voidClose()voidClose(TimeSpan timeout)voidEndClose(IAsyncResult result)voidEndOpen(IAsyncResult result)booleanEndWaitForChannel(IAsyncResult result)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeCommunicationStategetState()UrigetUri()voidOpen()voidOpen(TimeSpan timeout)voidremoveClosed(EventHandler handler)voidremoveClosing(EventHandler handler)voidremoveFaulted(EventHandler handler)voidremoveOpened(EventHandler handler)voidremoveOpening(EventHandler handler)static IChannelListenerToIChannelListener(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoIChannelListener, a cast assert is made to check if types are compatible.booleanWaitForChannel(TimeSpan timeout)-
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.IChannelListener- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIChannelListener- Specified by:
getJCOAssemblyNamein interfaceICommunicationObject- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIChannelListener- Specified by:
getJCOClassNamein interfaceICommunicationObject- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIChannelListener- Specified by:
getJCOObjectNamein interfaceICommunicationObject- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIChannelListener- Specified by:
getJCOInstancein interfaceICommunicationObject- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIChannelListener- Specified by:
getJCOTypein interfaceICommunicationObject- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
ToIChannelListener
public static IChannelListener ToIChannelListener(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoIChannelListener, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
IChannelListenerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
EndWaitForChannel
public boolean EndWaitForChannel(IAsyncResult result) throws java.lang.Throwable
- Specified by:
EndWaitForChannelin interfaceIChannelListener- Throws:
java.lang.Throwable
-
WaitForChannel
public boolean WaitForChannel(TimeSpan timeout) throws java.lang.Throwable
- Specified by:
WaitForChannelin interfaceIChannelListener- Throws:
java.lang.Throwable
-
BeginClose
public IAsyncResult BeginClose(AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Specified by:
BeginClosein interfaceICommunicationObject- Throws:
java.lang.Throwable
-
BeginClose
public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Specified by:
BeginClosein interfaceICommunicationObject- Throws:
java.lang.Throwable
-
BeginOpen
public IAsyncResult BeginOpen(AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Specified by:
BeginOpenin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
BeginOpen
public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Specified by:
BeginOpenin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
BeginWaitForChannel
public IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, NetObject state) throws java.lang.Throwable
- Specified by:
BeginWaitForChannelin interfaceIChannelListener- Throws:
java.lang.Throwable
-
Abort
public void Abort() throws java.lang.Throwable- Specified by:
Abortin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
Close
public void Close() throws java.lang.Throwable- Specified by:
Closein interfaceICommunicationObject- Throws:
java.lang.Throwable
-
Close
public void Close(TimeSpan timeout) throws java.lang.Throwable
- Specified by:
Closein interfaceICommunicationObject- Throws:
java.lang.Throwable
-
EndClose
public void EndClose(IAsyncResult result) throws java.lang.Throwable
- Specified by:
EndClosein interfaceICommunicationObject- Throws:
java.lang.Throwable
-
EndOpen
public void EndOpen(IAsyncResult result) throws java.lang.Throwable
- Specified by:
EndOpenin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
Open
public void Open() throws java.lang.Throwable- Specified by:
Openin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
Open
public void Open(TimeSpan timeout) throws java.lang.Throwable
- Specified by:
Openin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
getState
public CommunicationState getState() throws java.lang.Throwable
- Specified by:
getStatein interfaceICommunicationObject- Throws:
java.lang.Throwable
-
getUri
public Uri getUri() throws java.lang.Throwable
- Specified by:
getUriin interfaceIChannelListener- Throws:
java.lang.Throwable
-
addClosed
public void addClosed(EventHandler handler) throws java.lang.Throwable
- Specified by:
addClosedin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
removeClosed
public void removeClosed(EventHandler handler) throws java.lang.Throwable
- Specified by:
removeClosedin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
addClosing
public void addClosing(EventHandler handler) throws java.lang.Throwable
- Specified by:
addClosingin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
removeClosing
public void removeClosing(EventHandler handler) throws java.lang.Throwable
- Specified by:
removeClosingin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
addFaulted
public void addFaulted(EventHandler handler) throws java.lang.Throwable
- Specified by:
addFaultedin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
removeFaulted
public void removeFaulted(EventHandler handler) throws java.lang.Throwable
- Specified by:
removeFaultedin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
addOpened
public void addOpened(EventHandler handler) throws java.lang.Throwable
- Specified by:
addOpenedin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
removeOpened
public void removeOpened(EventHandler handler) throws java.lang.Throwable
- Specified by:
removeOpenedin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
addOpening
public void addOpening(EventHandler handler) throws java.lang.Throwable
- Specified by:
addOpeningin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
removeOpening
public void removeOpening(EventHandler handler) throws java.lang.Throwable
- Specified by:
removeOpeningin interfaceICommunicationObject- Throws:
java.lang.Throwable
-
-