Files
Dec2017-Script-Dump/mscorlib/System/Runtime/Remoting/Identity.cs
T
2026-06-04 11:42:34 +02:00

182 lines
4.5 KiB
C#

using System;
using System.Runtime.Remoting.Contexts;
using System.Runtime.Remoting.Messaging;
namespace System.Runtime.Remoting
{
// Token: 0x02000440 RID: 1088
internal abstract class Identity
{
// Token: 0x060029CD RID: 10701 RVA: 0x0008649C File Offset: 0x0008469C
public Identity(string objectUri)
{
this._objectUri = objectUri;
}
// Token: 0x060029CE RID: 10702
public abstract ObjRef CreateObjRef(Type requestedType);
// Token: 0x17000849 RID: 2121
// (get) Token: 0x060029CF RID: 10703 RVA: 0x000864AC File Offset: 0x000846AC
public bool IsFromThisAppDomain
{
get
{
return this._channelSink == null;
}
}
// Token: 0x1700084A RID: 2122
// (get) Token: 0x060029D0 RID: 10704 RVA: 0x000864B8 File Offset: 0x000846B8
// (set) Token: 0x060029D1 RID: 10705 RVA: 0x000864C0 File Offset: 0x000846C0
public IMessageSink ChannelSink
{
get
{
return this._channelSink;
}
set
{
this._channelSink = value;
}
}
// Token: 0x1700084B RID: 2123
// (get) Token: 0x060029D2 RID: 10706 RVA: 0x000864CC File Offset: 0x000846CC
public IMessageSink EnvoySink
{
get
{
return this._envoySink;
}
}
// Token: 0x1700084C RID: 2124
// (get) Token: 0x060029D3 RID: 10707 RVA: 0x000864D4 File Offset: 0x000846D4
// (set) Token: 0x060029D4 RID: 10708 RVA: 0x000864DC File Offset: 0x000846DC
public string ObjectUri
{
get
{
return this._objectUri;
}
set
{
this._objectUri = value;
}
}
// Token: 0x1700084D RID: 2125
// (get) Token: 0x060029D5 RID: 10709 RVA: 0x000864E8 File Offset: 0x000846E8
public bool IsConnected
{
get
{
return this._objectUri != null;
}
}
// Token: 0x1700084E RID: 2126
// (get) Token: 0x060029D6 RID: 10710 RVA: 0x000864F8 File Offset: 0x000846F8
// (set) Token: 0x060029D7 RID: 10711 RVA: 0x00086500 File Offset: 0x00084700
public bool Disposed
{
get
{
return this._disposed;
}
set
{
this._disposed = value;
}
}
// Token: 0x1700084F RID: 2127
// (get) Token: 0x060029D8 RID: 10712 RVA: 0x0008650C File Offset: 0x0008470C
public DynamicPropertyCollection ClientDynamicProperties
{
get
{
if (this._clientDynamicProperties == null)
{
this._clientDynamicProperties = new DynamicPropertyCollection();
}
return this._clientDynamicProperties;
}
}
// Token: 0x17000850 RID: 2128
// (get) Token: 0x060029D9 RID: 10713 RVA: 0x0008652C File Offset: 0x0008472C
public DynamicPropertyCollection ServerDynamicProperties
{
get
{
if (this._serverDynamicProperties == null)
{
this._serverDynamicProperties = new DynamicPropertyCollection();
}
return this._serverDynamicProperties;
}
}
// Token: 0x17000851 RID: 2129
// (get) Token: 0x060029DA RID: 10714 RVA: 0x0008654C File Offset: 0x0008474C
public bool HasClientDynamicSinks
{
get
{
return this._clientDynamicProperties != null && this._clientDynamicProperties.HasProperties;
}
}
// Token: 0x17000852 RID: 2130
// (get) Token: 0x060029DB RID: 10715 RVA: 0x00086568 File Offset: 0x00084768
public bool HasServerDynamicSinks
{
get
{
return this._serverDynamicProperties != null && this._serverDynamicProperties.HasProperties;
}
}
// Token: 0x060029DC RID: 10716 RVA: 0x00086584 File Offset: 0x00084784
public void NotifyClientDynamicSinks(bool start, IMessage req_msg, bool client_site, bool async)
{
if (this._clientDynamicProperties != null && this._clientDynamicProperties.HasProperties)
{
this._clientDynamicProperties.NotifyMessage(start, req_msg, client_site, async);
}
}
// Token: 0x060029DD RID: 10717 RVA: 0x000865B4 File Offset: 0x000847B4
public void NotifyServerDynamicSinks(bool start, IMessage req_msg, bool client_site, bool async)
{
if (this._serverDynamicProperties != null && this._serverDynamicProperties.HasProperties)
{
this._serverDynamicProperties.NotifyMessage(start, req_msg, client_site, async);
}
}
// Token: 0x0400100B RID: 4107
protected string _objectUri;
// Token: 0x0400100C RID: 4108
protected IMessageSink _channelSink;
// Token: 0x0400100D RID: 4109
protected IMessageSink _envoySink;
// Token: 0x0400100E RID: 4110
private DynamicPropertyCollection _clientDynamicProperties;
// Token: 0x0400100F RID: 4111
private DynamicPropertyCollection _serverDynamicProperties;
// Token: 0x04001010 RID: 4112
protected ObjRef _objRef;
// Token: 0x04001011 RID: 4113
private bool _disposed;
}
}