public class CommunicationObject extends NetObject
.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
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.ServiceModel
|
static java.lang.String |
className
Qualified class name: System.ServiceModel.Channels.CommunicationObject
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CommunicationObject() |
CommunicationObject(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and 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 the
IJCOBridgeReflected instance into CommunicationObject, 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 name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
CommunicationState |
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) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CommunicationObject()
throws java.lang.Throwable
java.lang.Throwablepublic CommunicationObject(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic 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
java.lang.ThrowableArgumentExceptionArgumentNullExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionKeyNotFoundExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionpublic void addClosed(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addClosing(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addFaulted(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addOpened(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addOpening(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic 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
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic 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
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionKeyNotFoundExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic 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
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionKeyNotFoundExceptionpublic 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
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionKeyNotFoundExceptionXmlExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic static CommunicationObject cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CommunicationObject, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCommunicationObject instancejava.lang.Throwable - in case of error during cast operationpublic void Close()
throws java.lang.Throwable,
ArgumentException,
IndexOutOfRangeException,
MulticastNotSupportedException,
ArgumentNullException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ConfigurationErrorsException,
OverflowException,
SecurityException,
OutOfMemoryException,
XmlException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionXmlExceptionpublic 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
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionKeyNotFoundExceptionXmlExceptionpublic void EndClose(IAsyncResult result) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ObjectDisposedException, AbandonedMutexException
java.lang.ThrowableIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic 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
java.lang.ThrowableIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic CommunicationState getState() throws java.lang.Throwable
java.lang.Throwablepublic void Open()
throws java.lang.Throwable,
ArgumentException,
IndexOutOfRangeException,
MulticastNotSupportedException,
ArgumentNullException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ConfigurationErrorsException,
OverflowException,
SecurityException,
OutOfMemoryException,
KeyNotFoundException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionKeyNotFoundExceptionpublic 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
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionKeyNotFoundExceptionXmlExceptionpublic void removeClosed(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeClosing(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeFaulted(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeOpened(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeOpening(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject