public class TcpServerChannel extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Runtime.Remoting.Channels.Tcp.TcpServerChannel
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.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Runtime.Remoting
|
static java.lang.String |
className
Qualified class name: System.Runtime.Remoting.Channels.Tcp.TcpServerChannel
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TcpServerChannel() |
TcpServerChannel(IDictionary properties,
IServerChannelSinkProvider sinkProvider)
Initializes a new instance by invoking the .NET constructor.
|
TcpServerChannel(IDictionary properties,
IServerChannelSinkProvider sinkProvider,
IAuthorizeRemotingConnection authorizeCallback)
Initializes a new instance by invoking the .NET constructor.
|
TcpServerChannel(int port)
Initializes a new instance by invoking the .NET constructor.
|
TcpServerChannel(java.lang.Object instance)
Internal constructor.
|
TcpServerChannel(java.lang.String name,
int port)
Initializes a new instance by invoking the .NET constructor.
|
TcpServerChannel(java.lang.String name,
int port,
IServerChannelSinkProvider sinkProvider)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static TcpServerChannel |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TcpServerChannel, a cast assert is made to check if types are compatible. |
NetObject |
getChannelData()
Gets the value of the .NET property ChannelData.
|
java.lang.String |
getChannelName()
Gets the value of the .NET property ChannelName.
|
int |
getChannelPriority()
Gets the value of the .NET property ChannelPriority.
|
java.lang.String |
GetChannelUri()
Invokes the .NET member GetChannelUri.
|
boolean |
getIsSecured()
Gets the value of the .NET property IsSecured.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
java.lang.String[] |
GetUrlsForUri(java.lang.String objectUri)
Invokes the .NET member GetUrlsForUri.
|
java.lang.String |
Parse(java.lang.String url,
JCORefOut objectURI)
Invokes the .NET member Parse.
|
void |
setIsSecured(boolean IsSecured)
Sets the value of the .NET property IsSecured.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
StartListening(NetObject data)
Invokes the .NET member StartListening.
|
void |
StopListening(NetObject data)
Invokes the .NET member StopListening.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TcpServerChannel()
throws java.lang.Throwable
java.lang.Throwablepublic TcpServerChannel(IDictionary properties, IServerChannelSinkProvider sinkProvider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, SocketException, FormatException, NotSupportedException, ConfigurationException, SecurityException, InvalidOperationException, InvalidCastException, TypeLoadException, MissingMethodException, TargetInvocationException, OutOfMemoryException, NotImplementedException, AccessViolationException, CultureNotFoundException, RemotingException, ObjectDisposedException, PlatformNotSupportedException, Win32Exception
properties - the argument of type IDictionarysinkProvider - the argument of type IServerChannelSinkProviderjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itSocketException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itConfigurationException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidCastException - if the .NET member raises itTypeLoadException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotImplementedException - if the .NET member raises itAccessViolationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRemotingException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic TcpServerChannel(IDictionary properties, IServerChannelSinkProvider sinkProvider, IAuthorizeRemotingConnection authorizeCallback) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, SocketException, ConfigurationErrorsException, NotSupportedException, ConfigurationException, SecurityException, NullReferenceException, NotImplementedException, InvalidOperationException, FormatException, InvalidCastException, MissingMethodException, TargetInvocationException, AccessViolationException, CultureNotFoundException, RemotingException, ObjectDisposedException, PlatformNotSupportedException, AuthenticationException, Win32Exception
properties - the argument of type IDictionarysinkProvider - the argument of type IServerChannelSinkProviderauthorizeCallback - the argument of type IAuthorizeRemotingConnectionjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itSocketException - if the .NET member raises itConfigurationErrorsException - if the .NET member raises itNotSupportedException - if the .NET member raises itConfigurationException - if the .NET member raises itSecurityException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotImplementedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itInvalidCastException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itAccessViolationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRemotingException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itAuthenticationException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic TcpServerChannel(int port)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentNullException,
SocketException,
ConfigurationErrorsException,
NotSupportedException,
ConfigurationException,
SecurityException,
NullReferenceException,
NotImplementedException,
InvalidOperationException,
OutOfMemoryException,
FormatException,
MissingMethodException,
TargetInvocationException,
AccessViolationException,
CultureNotFoundException,
RemotingException,
ObjectDisposedException,
PlatformNotSupportedException,
AuthenticationException,
Win32Exception
port - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itSocketException - if the .NET member raises itConfigurationErrorsException - if the .NET member raises itNotSupportedException - if the .NET member raises itConfigurationException - if the .NET member raises itSecurityException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotImplementedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itAccessViolationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRemotingException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itAuthenticationException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic TcpServerChannel(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic TcpServerChannel(java.lang.String name,
int port)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentNullException,
SocketException,
ConfigurationErrorsException,
NotSupportedException,
ConfigurationException,
SecurityException,
NullReferenceException,
NotImplementedException,
InvalidOperationException,
OutOfMemoryException,
FormatException,
MissingMethodException,
TargetInvocationException,
AccessViolationException,
CultureNotFoundException,
RemotingException,
ObjectDisposedException,
PlatformNotSupportedException,
AuthenticationException,
Win32Exception
name - the argument of type java.lang.Stringport - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itSocketException - if the .NET member raises itConfigurationErrorsException - if the .NET member raises itNotSupportedException - if the .NET member raises itConfigurationException - if the .NET member raises itSecurityException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotImplementedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itAccessViolationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRemotingException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itAuthenticationException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic TcpServerChannel(java.lang.String name,
int port,
IServerChannelSinkProvider sinkProvider)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentNullException,
SocketException,
ConfigurationErrorsException,
NotSupportedException,
ConfigurationException,
SecurityException,
NullReferenceException,
NotImplementedException,
InvalidOperationException,
OutOfMemoryException,
FormatException,
MissingMethodException,
TargetInvocationException,
AccessViolationException,
CultureNotFoundException,
RemotingException,
ObjectDisposedException,
PlatformNotSupportedException,
AuthenticationException,
Win32Exception
name - the argument of type java.lang.Stringport - the argument of type intsinkProvider - the argument of type IServerChannelSinkProviderjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itSocketException - if the .NET member raises itConfigurationErrorsException - if the .NET member raises itNotSupportedException - if the .NET member raises itConfigurationException - if the .NET member raises itSecurityException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotImplementedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itAccessViolationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRemotingException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itAuthenticationException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic static TcpServerChannel cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TcpServerChannel, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTcpServerChannel instancejava.lang.Throwable - in case of error during cast operationpublic NetObject getChannelData() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getChannelName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getChannelPriority()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String GetChannelUri()
throws java.lang.Throwable,
ArgumentNullException,
TypeLoadException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException,
ArgumentOutOfRangeException,
TypeInitializationException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itTypeLoadException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itTypeInitializationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic boolean getIsSecured()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic java.lang.String[] GetUrlsForUri(java.lang.String objectUri)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
TypeLoadException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException
objectUri - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itTypeLoadException - if the .NET member raises itInvalidOperationException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic java.lang.String Parse(java.lang.String url,
JCORefOut objectURI)
throws java.lang.Throwable,
ArgumentOutOfRangeException
url - the argument of type java.lang.StringobjectURI - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itpublic void setIsSecured(boolean IsSecured)
throws java.lang.Throwable
IsSecured - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void StartListening(NetObject data) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentException, FormatException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, NotImplementedException, MissingManifestResourceException, NotSupportedException, SocketException, AccessViolationException, SecurityException, NullReferenceException
data - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotImplementedException - if the .NET member raises itMissingManifestResourceException - if the .NET member raises itNotSupportedException - if the .NET member raises itSocketException - if the .NET member raises itAccessViolationException - if the .NET member raises itSecurityException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic void StopListening(NetObject data) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, MissingManifestResourceException, InvalidCastException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, NotImplementedException, IndexOutOfRangeException, SocketException, SecurityException, NotSupportedException, ObjectDisposedException
data - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itConfigurationException - if the .NET member raises itConfigurationErrorsException - if the .NET member raises itMissingManifestResourceException - if the .NET member raises itInvalidCastException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotImplementedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSocketException - if the .NET member raises itSecurityException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises it