Class PeerNearMe
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.net.peertopeer.collaboration.Peer
-
- system.net.peertopeer.collaboration.PeerNearMe
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,ISerializable
public class PeerNearMe extends Peer
The base .NET class managing System.Net.PeerToPeer.Collaboration.PeerNearMe, System.Net, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.PeerToPeer.Collaboration.PeerNearMe
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.Net, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Netstatic java.lang.String
className
Qualified class name: System.Net.PeerToPeer.Collaboration.PeerNearMestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description PeerNearMe()
PeerNearMe(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PeerContact
AddToContactManager()
PeerContact
AddToContactManager(java.lang.String displayName, java.lang.String nickname, MailAddress emailAddress)
static PeerNearMe
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoPeerNearMe
, a cast assert is made to check if types are compatible.static PeerNearMe
CreateFromPeerEndPoint(PeerEndPoint peerEndPoint)
static boolean
Equals(NetObject objA, NetObject objB)
boolean
Equals(PeerNearMe other)
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 Typejava.lang.String
getNickname()
PeerInvitationResponse
Invite()
PeerInvitationResponse
Invite(PeerApplication applicationToInvite, java.lang.String message, byte[] invitationData)
PeerInvitationResponse
Invite(PeerApplication dupParam0, java.lang.String dupParam1, JCORefOut dupParam2)
void
InviteAsync(NetObject userToken)
void
InviteAsync(PeerApplication applicationToInvite, java.lang.String message, byte[] invitationData, NetObject userToken)
void
InviteAsync(PeerApplication dupParam0, java.lang.String dupParam1, JCORefOut dupParam2, NetObject dupParam3)
void
RefreshData()
void
RefreshDataAsync(NetObject userToken)
void
setJCOInstance(JCObject instance)
void
setNickname(java.lang.String Nickname)
-
Methods inherited from class system.net.peertopeer.collaboration.Peer
close, Dispose, Equals, getIsOnline, GetObjects, GetObjects, getPeerEndPoints, GetPresenceInfo, getSynchronizingObject, InviteAsyncCancel, setSynchronizingObject
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.runtime.serialization.ISerializable
GetObjectData
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Net, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Net- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Net.PeerToPeer.Collaboration.PeerNearMe- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PeerNearMe
public PeerNearMe(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
PeerNearMe
public PeerNearMe() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ConfigurationException, ConfigurationErrorsException, ArgumentNullException, MissingManifestResourceException, InvalidCastException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceISerializable
- Overrides:
getJCOAssemblyName
in classPeer
- 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
- Specified by:
getJCOClassName
in interfaceISerializable
- Overrides:
getJCOClassName
in classPeer
- 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
- Specified by:
getJCOObjectName
in interfaceISerializable
- Overrides:
getJCOObjectName
in classPeer
- 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
- Specified by:
getJCOInstance
in interfaceISerializable
- Overrides:
getJCOInstance
in classPeer
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classPeer
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceISerializable
- Overrides:
getJCOType
in classPeer
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static PeerNearMe cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoPeerNearMe
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
PeerNearMe
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Equals
public boolean Equals(PeerNearMe other) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
-
Equals
public static boolean Equals(NetObject objA, NetObject objB) throws java.lang.Throwable, ObjectDisposedException
- Throws:
java.lang.Throwable
ObjectDisposedException
-
AddToContactManager
public PeerContact AddToContactManager() throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, MissingManifestResourceException, IndexOutOfRangeException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, PathTooLongException, InvalidCastException, NullReferenceException, FormatException, OverflowException, PlatformNotSupportedException, Win32Exception, PeerToPeerException, ObjectDisposedException, SocketException, WaitHandleCannotBeOpenedException, KeyNotFoundException, OutOfMemoryException, CryptographicException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
MissingManifestResourceException
IndexOutOfRangeException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
PathTooLongException
InvalidCastException
NullReferenceException
FormatException
OverflowException
PlatformNotSupportedException
Win32Exception
PeerToPeerException
ObjectDisposedException
SocketException
WaitHandleCannotBeOpenedException
KeyNotFoundException
OutOfMemoryException
CryptographicException
-
AddToContactManager
public PeerContact AddToContactManager(java.lang.String displayName, java.lang.String nickname, MailAddress emailAddress) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, MissingManifestResourceException, IndexOutOfRangeException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, PathTooLongException, InvalidCastException, NullReferenceException, FormatException, OverflowException, PlatformNotSupportedException, Win32Exception, PeerToPeerException, ObjectDisposedException, SocketException, WaitHandleCannotBeOpenedException, KeyNotFoundException, OutOfMemoryException, CryptographicException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
MissingManifestResourceException
IndexOutOfRangeException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
PathTooLongException
InvalidCastException
NullReferenceException
FormatException
OverflowException
PlatformNotSupportedException
Win32Exception
PeerToPeerException
ObjectDisposedException
SocketException
WaitHandleCannotBeOpenedException
KeyNotFoundException
OutOfMemoryException
CryptographicException
-
Invite
public PeerInvitationResponse Invite() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, PlatformNotSupportedException, NotSupportedException, NullReferenceException, KeyNotFoundException, OutOfMemoryException, CultureNotFoundException, Win32Exception, AccessViolationException, AbandonedMutexException, ConfigurationException, ConfigurationErrorsException, InvalidCastException, PeerToPeerException, OverflowException, SecurityException, MissingMethodException, TargetInvocationException, SocketException, CryptographicException
- Overrides:
Invite
in classPeer
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ArgumentOutOfRangeException
IndexOutOfRangeException
InvalidOperationException
NotImplementedException
MissingManifestResourceException
PlatformNotSupportedException
NotSupportedException
NullReferenceException
KeyNotFoundException
OutOfMemoryException
CultureNotFoundException
Win32Exception
AccessViolationException
AbandonedMutexException
ConfigurationException
ConfigurationErrorsException
InvalidCastException
PeerToPeerException
OverflowException
SecurityException
MissingMethodException
TargetInvocationException
SocketException
CryptographicException
-
Invite
public PeerInvitationResponse Invite(PeerApplication applicationToInvite, java.lang.String message, byte[] invitationData) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, PeerToPeerException, ConfigurationException, ConfigurationErrorsException, InvalidCastException, NullReferenceException, FormatException, OverflowException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, SocketException, CryptographicException, KeyNotFoundException
- Overrides:
Invite
in classPeer
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
PeerToPeerException
ConfigurationException
ConfigurationErrorsException
InvalidCastException
NullReferenceException
FormatException
OverflowException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
SocketException
CryptographicException
KeyNotFoundException
-
Invite
public PeerInvitationResponse Invite(PeerApplication dupParam0, java.lang.String dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, PeerToPeerException, ConfigurationException, ConfigurationErrorsException, InvalidCastException, NullReferenceException, FormatException, OverflowException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, SocketException, CryptographicException, KeyNotFoundException
- Overrides:
Invite
in classPeer
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
PeerToPeerException
ConfigurationException
ConfigurationErrorsException
InvalidCastException
NullReferenceException
FormatException
OverflowException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
SocketException
CryptographicException
KeyNotFoundException
-
CreateFromPeerEndPoint
public static PeerNearMe CreateFromPeerEndPoint(PeerEndPoint peerEndPoint) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, MissingManifestResourceException, IndexOutOfRangeException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, PathTooLongException, InvalidCastException, NullReferenceException, FormatException, OverflowException, PlatformNotSupportedException, Win32Exception, PeerToPeerException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
MissingManifestResourceException
IndexOutOfRangeException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
PathTooLongException
InvalidCastException
NullReferenceException
FormatException
OverflowException
PlatformNotSupportedException
Win32Exception
PeerToPeerException
ObjectDisposedException
-
InviteAsync
public void InviteAsync(PeerApplication applicationToInvite, java.lang.String message, byte[] invitationData, NetObject userToken) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, PeerToPeerException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ConfigurationException, ConfigurationErrorsException, FormatException, KeyNotFoundException, OverflowException, OutOfMemoryException, SocketException, CryptographicException
- Overrides:
InviteAsync
in classPeer
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
PeerToPeerException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ConfigurationException
ConfigurationErrorsException
FormatException
KeyNotFoundException
OverflowException
OutOfMemoryException
SocketException
CryptographicException
-
InviteAsync
public void InviteAsync(PeerApplication dupParam0, java.lang.String dupParam1, JCORefOut dupParam2, NetObject dupParam3) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, PeerToPeerException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ConfigurationException, ConfigurationErrorsException, FormatException, KeyNotFoundException, OverflowException, OutOfMemoryException, SocketException, CryptographicException
- Overrides:
InviteAsync
in classPeer
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
PeerToPeerException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ConfigurationException
ConfigurationErrorsException
FormatException
KeyNotFoundException
OverflowException
OutOfMemoryException
SocketException
CryptographicException
-
InviteAsync
public void InviteAsync(NetObject userToken) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NullReferenceException, KeyNotFoundException, OutOfMemoryException, Win32Exception, AccessViolationException, ConfigurationException, ConfigurationErrorsException, InvalidCastException, PeerToPeerException, OverflowException, WaitHandleCannotBeOpenedException, SocketException, CryptographicException
- Overrides:
InviteAsync
in classPeer
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
NullReferenceException
KeyNotFoundException
OutOfMemoryException
Win32Exception
AccessViolationException
ConfigurationException
ConfigurationErrorsException
InvalidCastException
PeerToPeerException
OverflowException
WaitHandleCannotBeOpenedException
SocketException
CryptographicException
-
RefreshData
public void RefreshData() throws java.lang.Throwable, ObjectDisposedException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, PlatformNotSupportedException, FormatException, IndexOutOfRangeException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, CultureNotFoundException, PeerToPeerException, SocketException, KeyNotFoundException, AbandonedMutexException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
MissingManifestResourceException
ArgumentOutOfRangeException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
InvalidCastException
NullReferenceException
OverflowException
PlatformNotSupportedException
FormatException
IndexOutOfRangeException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
CultureNotFoundException
PeerToPeerException
SocketException
KeyNotFoundException
AbandonedMutexException
-
RefreshDataAsync
public void RefreshDataAsync(NetObject userToken) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, PeerToPeerException, SecurityException, NullReferenceException, ConfigurationException, ConfigurationErrorsException, InvalidCastException, OverflowException, PlatformNotSupportedException, FormatException, IndexOutOfRangeException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SocketException, KeyNotFoundException, AbandonedMutexException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
PeerToPeerException
SecurityException
NullReferenceException
ConfigurationException
ConfigurationErrorsException
InvalidCastException
OverflowException
PlatformNotSupportedException
FormatException
IndexOutOfRangeException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
SocketException
KeyNotFoundException
AbandonedMutexException
-
getNickname
public java.lang.String getNickname() throws java.lang.Throwable, ObjectDisposedException
- Throws:
java.lang.Throwable
ObjectDisposedException
-
setNickname
public void setNickname(java.lang.String Nickname) throws java.lang.Throwable, ObjectDisposedException
- Throws:
java.lang.Throwable
ObjectDisposedException
-
-