public class PeerNameRegistration extends NetObject implements ISerializable, java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.PeerToPeer.PeerNameRegistration
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.Net, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net
|
static java.lang.String |
className
Qualified class name: System.Net.PeerToPeer.PeerNameRegistration
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PeerNameRegistration() |
PeerNameRegistration(java.lang.Object instance)
Internal constructor.
|
PeerNameRegistration(PeerName name,
int port) |
PeerNameRegistration(PeerName name,
int port,
Cloud cloud) |
| Modifier and Type | Method and Description |
|---|---|
static PeerNameRegistration |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PeerNameRegistration, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Dispose() |
Cloud |
getCloud() |
java.lang.String |
getComment() |
byte[] |
getData() |
IPEndPointCollection |
getEndPointCollection() |
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
|
PeerName |
getPeerName() |
int |
getPort() |
boolean |
getUseAutoEndPointSelection() |
boolean |
IsRegistered() |
void |
setCloud(Cloud Cloud) |
void |
setComment(java.lang.String Comment) |
void |
setData(byte[] Data) |
void |
setJCOInstance(JCObject instance) |
void |
setPeerName(PeerName PeerName) |
void |
setPort(int Port) |
void |
setUseAutoEndPointSelection(boolean UseAutoEndPointSelection) |
void |
Start() |
void |
Stop() |
void |
Update() |
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToStringGetObjectData, ToISerializablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PeerNameRegistration()
throws java.lang.Throwable
java.lang.Throwablepublic PeerNameRegistration(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic PeerNameRegistration(PeerName name, int port) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, InvalidCastException, NullReferenceException, OverflowException, PlatformNotSupportedException, FormatException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionInvalidCastExceptionNullReferenceExceptionOverflowExceptionPlatformNotSupportedExceptionFormatExceptionIndexOutOfRangeExceptionpublic PeerNameRegistration(PeerName name, int port, Cloud cloud) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, ConfigurationException, ConfigurationErrorsException, PathTooLongException, InvalidCastException, NullReferenceException, FormatException, OverflowException, PlatformNotSupportedException, Win32Exception, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationExceptionConfigurationErrorsExceptionPathTooLongExceptionInvalidCastExceptionNullReferenceExceptionFormatExceptionOverflowExceptionPlatformNotSupportedExceptionWin32ExceptionIndexOutOfRangeExceptionpublic static PeerNameRegistration cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PeerNameRegistration, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPeerNameRegistration instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Dispose()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
InvalidOperationException
public Cloud getCloud() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getComment()
throws java.lang.Throwable
java.lang.Throwablepublic byte[] getData()
throws java.lang.Throwable
java.lang.Throwablepublic IPEndPointCollection getEndPointCollection() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ISerializablegetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ISerializablegetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ISerializablegetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ISerializablegetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ISerializablegetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic PeerName getPeerName() throws java.lang.Throwable
java.lang.Throwablepublic int getPort()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getUseAutoEndPointSelection()
throws java.lang.Throwable
java.lang.Throwablepublic boolean IsRegistered()
throws java.lang.Throwable,
ObjectDisposedException
java.lang.ThrowableObjectDisposedExceptionpublic void setCloud(Cloud Cloud) throws java.lang.Throwable
java.lang.Throwablepublic void setComment(java.lang.String Comment)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic void setData(byte[] Data)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setPeerName(PeerName PeerName) throws java.lang.Throwable
java.lang.Throwablepublic void setPort(int Port)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setUseAutoEndPointSelection(boolean UseAutoEndPointSelection)
throws java.lang.Throwable
java.lang.Throwablepublic void Start()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
IndexOutOfRangeException,
ConfigurationException,
ConfigurationErrorsException,
NotImplementedException,
PathTooLongException,
InvalidCastException,
NullReferenceException,
FormatException,
OverflowException,
PlatformNotSupportedException,
Win32Exception,
PeerToPeerException,
OutOfMemoryException,
SocketException,
KeyNotFoundException
java.lang.ThrowableObjectDisposedExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionIndexOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionNotImplementedExceptionPathTooLongExceptionInvalidCastExceptionNullReferenceExceptionFormatExceptionOverflowExceptionPlatformNotSupportedExceptionWin32ExceptionPeerToPeerExceptionOutOfMemoryExceptionSocketExceptionKeyNotFoundExceptionpublic void Stop()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException
public void Update()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
PeerToPeerException,
ConfigurationException,
ConfigurationErrorsException,
PathTooLongException,
InvalidCastException,
NullReferenceException,
FormatException,
OverflowException,
PlatformNotSupportedException,
Win32Exception,
IndexOutOfRangeException,
KeyNotFoundException,
OutOfMemoryException,
SocketException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionPeerToPeerExceptionConfigurationExceptionConfigurationErrorsExceptionPathTooLongExceptionInvalidCastExceptionNullReferenceExceptionFormatExceptionOverflowExceptionPlatformNotSupportedExceptionWin32ExceptionIndexOutOfRangeExceptionKeyNotFoundExceptionOutOfMemoryExceptionSocketException