public class RemotingServices extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Remoting.RemotingServices
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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: mscorlib
|
static java.lang.String |
className
Qualified class name: System.Runtime.Remoting.RemotingServices
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
RemotingServices() |
RemotingServices(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static RemotingServices |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into RemotingServices, a cast assert is made to check if types are compatible. |
static NetObject |
Connect(NetType classToProxy,
java.lang.String url) |
static NetObject |
Connect(NetType classToProxy,
java.lang.String url,
NetObject data) |
static boolean |
Disconnect(MarshalByRefObject obj) |
static IMethodReturnMessage |
ExecuteMessage(MarshalByRefObject target,
IMethodCallMessage reqMsg) |
static IMessageSink |
GetEnvoyChainForProxy(MarshalByRefObject obj) |
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
|
static NetObject |
GetLifetimeService(MarshalByRefObject obj) |
static MethodBase |
GetMethodBaseFromMethodMessage(IMethodMessage msg) |
static void |
GetObjectData(NetObject obj,
SerializationInfo info,
StreamingContext context) |
static java.lang.String |
GetObjectUri(MarshalByRefObject obj) |
static ObjRef |
GetObjRefForProxy(MarshalByRefObject obj) |
static RealProxy |
GetRealProxy(NetObject proxy) |
static NetType |
GetServerTypeForUri(java.lang.String URI) |
static java.lang.String |
GetSessionIdForMethodMessage(IMethodMessage msg) |
static boolean |
IsMethodOverloaded(IMethodMessage msg) |
static boolean |
IsObjectOutOfAppDomain(NetObject tp) |
static boolean |
IsObjectOutOfContext(NetObject tp) |
static boolean |
IsOneWay(MethodBase method) |
static boolean |
IsTransparentProxy(NetObject proxy) |
static void |
LogRemotingStage(int stage) |
static ObjRef |
Marshal(MarshalByRefObject Obj) |
static ObjRef |
Marshal(MarshalByRefObject Obj,
java.lang.String URI) |
static ObjRef |
Marshal(MarshalByRefObject Obj,
java.lang.String ObjURI,
NetType RequestedType) |
void |
setJCOInstance(JCObject instance) |
static void |
SetObjectUriForMarshal(MarshalByRefObject obj,
java.lang.String uri) |
static NetObject |
Unmarshal(ObjRef objectRef) |
static NetObject |
Unmarshal(ObjRef objectRef,
boolean fRefine) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public RemotingServices()
throws java.lang.Throwable
java.lang.Throwablepublic RemotingServices(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static RemotingServices cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into RemotingServices, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRemotingServices instancejava.lang.Throwable - in case of error during cast operationpublic static NetObject Connect(NetType classToProxy, java.lang.String url) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, RemotingException, ArgumentException, ArgumentOutOfRangeException, ObjectDisposedException, AbandonedMutexException, NullReferenceException, NotSupportedException, ApplicationException, OutOfMemoryException, FormatException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionRemotingExceptionArgumentExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionNullReferenceExceptionNotSupportedExceptionApplicationExceptionOutOfMemoryExceptionFormatExceptionInvalidCastExceptionpublic static NetObject Connect(NetType classToProxy, java.lang.String url, NetObject data) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, RemotingException, ArgumentException, ArgumentOutOfRangeException, ObjectDisposedException, AbandonedMutexException, NullReferenceException, NotSupportedException, ApplicationException, OutOfMemoryException, FormatException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionRemotingExceptionArgumentExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionNullReferenceExceptionNotSupportedExceptionApplicationExceptionOutOfMemoryExceptionFormatExceptionInvalidCastExceptionpublic static boolean Disconnect(MarshalByRefObject obj) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, RemotingException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException
public static IMethodReturnMessage ExecuteMessage(MarshalByRefObject target, IMethodCallMessage reqMsg) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, RemotingException, SecurityException, NullReferenceException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, CultureNotFoundException, InvalidCastException, MissingMethodException, TargetInvocationException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionRemotingExceptionSecurityExceptionNullReferenceExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionpublic static IMessageSink GetEnvoyChainForProxy(MarshalByRefObject obj) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionpublic 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 static NetObject GetLifetimeService(MarshalByRefObject obj) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, RemotingException, ObjectDisposedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionRemotingExceptionObjectDisposedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic static MethodBase GetMethodBaseFromMethodMessage(IMethodMessage msg) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, TypeLoadException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, ArgumentException, CultureNotFoundException, OutOfMemoryException, FormatException, RemotingException, AmbiguousMatchException
public static void GetObjectData(NetObject obj, SerializationInfo info, StreamingContext context) throws java.lang.Throwable, ArgumentNullException, RemotingException, OutOfMemoryException, ObjectDisposedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, SerializationException, NullReferenceException
java.lang.ThrowableArgumentNullExceptionRemotingExceptionOutOfMemoryExceptionObjectDisposedExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionSerializationExceptionNullReferenceExceptionpublic static java.lang.String GetObjectUri(MarshalByRefObject obj) throws java.lang.Throwable
java.lang.Throwablepublic static ObjRef GetObjRefForProxy(MarshalByRefObject obj) throws java.lang.Throwable, RemotingException
java.lang.ThrowableRemotingExceptionpublic static RealProxy GetRealProxy(NetObject proxy) throws java.lang.Throwable
java.lang.Throwablepublic static NetType GetServerTypeForUri(java.lang.String URI) throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, RemotingException, ObjectDisposedException, AbandonedMutexException, SecurityException, NotSupportedException, InvalidOperationException
public static java.lang.String GetSessionIdForMethodMessage(IMethodMessage msg) throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsMethodOverloaded(IMethodMessage msg) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, NotImplementedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionNotImplementedExceptionpublic static boolean IsObjectOutOfAppDomain(NetObject tp) throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsObjectOutOfContext(NetObject tp) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionpublic static boolean IsOneWay(MethodBase method) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic static boolean IsTransparentProxy(NetObject proxy) throws java.lang.Throwable
java.lang.Throwablepublic static void LogRemotingStage(int stage)
throws java.lang.Throwable
java.lang.Throwablepublic static ObjRef Marshal(MarshalByRefObject Obj) throws java.lang.Throwable, RemotingException, ArgumentNullException, OutOfMemoryException, ObjectDisposedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, MissingMethodException, TargetInvocationException, NotSupportedException
public static ObjRef Marshal(MarshalByRefObject Obj, java.lang.String URI) throws java.lang.Throwable, RemotingException, ArgumentNullException, OutOfMemoryException, ObjectDisposedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, MissingMethodException, TargetInvocationException, NotSupportedException
public static ObjRef Marshal(MarshalByRefObject Obj, java.lang.String ObjURI, NetType RequestedType) throws java.lang.Throwable, RemotingException, ArgumentNullException, OutOfMemoryException, ObjectDisposedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, MissingMethodException, TargetInvocationException, NotSupportedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static void SetObjectUriForMarshal(MarshalByRefObject obj, java.lang.String uri) throws java.lang.Throwable, RemotingException, ArgumentException, ArgumentNullException, InvalidOperationException, NullReferenceException, ArgumentOutOfRangeException, FormatException, OutOfMemoryException, IndexOutOfRangeException
public static NetObject Unmarshal(ObjRef objectRef) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, TypeLoadException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, RemotingException, IndexOutOfRangeException, SecurityException, InvalidCastException, NotImplementedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionRemotingExceptionIndexOutOfRangeExceptionSecurityExceptionInvalidCastExceptionNotImplementedExceptionpublic static NetObject Unmarshal(ObjRef objectRef, boolean fRefine) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, TypeLoadException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, RemotingException, IndexOutOfRangeException, SecurityException, InvalidCastException, NotImplementedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionRemotingExceptionIndexOutOfRangeExceptionSecurityExceptionInvalidCastExceptionNotImplementedException