Package system.servicemodel.channels
Class CommunicationObject
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.servicemodel.channels.CommunicationObject
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
ChannelBase
,ChannelDispatcherBase
,ChannelFactory
,ChannelManagerBase
,InstanceContext
,ServiceHostBase
,StreamUpgradeProvider
public class CommunicationObject extends NetObject
The base .NET class managing System.ServiceModel.Channels.CommunicationObject, 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.CommunicationObject
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.CommunicationObjectstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description CommunicationObject()
CommunicationObject(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Abort()
void
addClosed(EventHandler handler)
void
addClosing(EventHandler handler)
void
addFaulted(EventHandler handler)
void
addOpened(EventHandler handler)
void
addOpening(EventHandler handler)
IAsyncResult
BeginClose(AsyncCallback callback, NetObject state)
IAsyncResult
BeginClose(TimeSpan timeout, AsyncCallback callback, NetObject state)
IAsyncResult
BeginOpen(AsyncCallback callback, NetObject state)
IAsyncResult
BeginOpen(TimeSpan timeout, AsyncCallback callback, NetObject state)
static CommunicationObject
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoCommunicationObject
, a cast assert is made to check if types are compatible.void
Close()
void
Close(TimeSpan timeout)
void
EndClose(IAsyncResult result)
void
EndOpen(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 objectJCType
getJCOType()
Returns the instantiated class TypeCommunicationState
getState()
void
Open()
void
Open(TimeSpan timeout)
void
removeClosed(EventHandler handler)
void
removeClosing(EventHandler handler)
void
removeFaulted(EventHandler handler)
void
removeOpened(EventHandler handler)
void
removeOpening(EventHandler handler)
void
setJCOInstance(JCObject instance)
-
-
-
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.CommunicationObject- 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 interfaceIJCOBridgeReflected
- 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 interfaceIJCOBridgeReflected
- 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 interfaceIJCOBridgeReflected
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static CommunicationObject cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoCommunicationObject
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
CommunicationObject
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
BeginClose
public IAsyncResult BeginClose(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, ConfigurationErrorsException, OverflowException, SecurityException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
ConfigurationErrorsException
OverflowException
SecurityException
OutOfMemoryException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
BeginClose
public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException, OutOfMemoryException, KeyNotFoundException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
OverflowException
OutOfMemoryException
KeyNotFoundException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
BeginOpen
public IAsyncResult BeginOpen(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, ConfigurationErrorsException, OverflowException, SecurityException, OutOfMemoryException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
ConfigurationErrorsException
OverflowException
SecurityException
OutOfMemoryException
KeyNotFoundException
-
BeginOpen
public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException, OutOfMemoryException, KeyNotFoundException, XmlException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
OverflowException
OutOfMemoryException
KeyNotFoundException
XmlException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
Abort
public void Abort() throws java.lang.Throwable, ArgumentException, ArgumentNullException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, KeyNotFoundException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
TypeLoadException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
KeyNotFoundException
ConfigurationErrorsException
OverflowException
MulticastNotSupportedException
OutOfMemoryException
-
Close
public void Close() throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, ConfigurationErrorsException, OverflowException, SecurityException, OutOfMemoryException, XmlException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
ConfigurationErrorsException
OverflowException
SecurityException
OutOfMemoryException
XmlException
-
Close
public void Close(TimeSpan timeout) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException, OutOfMemoryException, KeyNotFoundException, XmlException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
OverflowException
OutOfMemoryException
KeyNotFoundException
XmlException
-
EndClose
public void EndClose(IAsyncResult result) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentNullException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ObjectDisposedException
AbandonedMutexException
-
EndOpen
public void EndOpen(IAsyncResult result) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ObjectDisposedException
AbandonedMutexException
-
Open
public void Open() throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, ConfigurationErrorsException, OverflowException, SecurityException, OutOfMemoryException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
ConfigurationErrorsException
OverflowException
SecurityException
OutOfMemoryException
KeyNotFoundException
-
Open
public void Open(TimeSpan timeout) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException, OutOfMemoryException, KeyNotFoundException, XmlException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
OverflowException
OutOfMemoryException
KeyNotFoundException
XmlException
-
getState
public CommunicationState getState() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addClosed
public void addClosed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeClosed
public void removeClosed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addClosing
public void addClosing(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeClosing
public void removeClosing(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addFaulted
public void addFaulted(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeFaulted
public void removeFaulted(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addOpened
public void addOpened(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeOpened
public void removeOpened(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addOpening
public void addOpening(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeOpening
public void removeOpening(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-