// Token: 0x0600230D RID: 8973 RVA: 0x00081D1C File Offset: 0x0007FF1C public static int SocketIndex(this global::Socket.Mapped mapped, string name) { int result; mapped.GetSocketMapOrNull().SocketIndex(name, out result); return(result); }
// Token: 0x06002304 RID: 8964 RVA: 0x00081BD8 File Offset: 0x0007FDD8 public static bool GetSocketMapOrNull(this global::Socket.Mapped mapped, out global::Socket.Map map) { if (object.ReferenceEquals(mapped, null) || !(mapped as Object)) { map = null; return(false); } map = mapped.socketMap; return(!object.ReferenceEquals(map, null)); }
// Token: 0x06003580 RID: 13696 RVA: 0x000C4700 File Offset: 0x000C2900 public global::Socket GetSocketByName(global::Socket.Mapped vm, string name) { return(vm.socketMap[name].socket); }
// Token: 0x0600357F RID: 13695 RVA: 0x000C46F0 File Offset: 0x000C28F0 public void SetSocketByname(global::Socket.Mapped vm, string name, global::Socket newSocket) { vm.socketMap.ReplaceSocket(name, newSocket); }
// Token: 0x06002303 RID: 8963 RVA: 0x00081BA0 File Offset: 0x0007FDA0 public static global::Socket.Map GetSocketMapOrNull(this global::Socket.Mapped mapped) { return((!object.ReferenceEquals(mapped, null) && mapped as Object) ? mapped.socketMap : null); }
// Token: 0x0600230C RID: 8972 RVA: 0x00081D00 File Offset: 0x0007FF00 public static bool ContainsSocket(this global::Socket.Mapped mapped, int index) { global::Socket socket; return(mapped.GetSocketMapOrNull().FindSocket(index, out socket)); }
// Token: 0x0600230B RID: 8971 RVA: 0x00081CE4 File Offset: 0x0007FEE4 public static bool ContainsSocket(this global::Socket.Mapped mapped, string name) { global::Socket socket; return(mapped.GetSocketMapOrNull().FindSocket(name, out socket)); }
// Token: 0x0600230A RID: 8970 RVA: 0x00081CC8 File Offset: 0x0007FEC8 public static bool ContainsSocket <TSocket>(this global::Socket.Mapped mapped, int index) where TSocket : global::Socket, new() { TSocket tsocket; return(mapped.GetSocketMapOrNull().FindSocket(index, out tsocket)); }
// Token: 0x06002308 RID: 8968 RVA: 0x00081C88 File Offset: 0x0007FE88 public static bool FindSocket(this global::Socket.Mapped mapped, int index, out global::Socket socket) { return(mapped.GetSocketMapOrNull().Socket(index, out socket)); }
// Token: 0x06002307 RID: 8967 RVA: 0x00081C64 File Offset: 0x0007FE64 public static bool FindSocket(this global::Socket.Mapped mapped, string name, out global::Socket socket) { return(mapped.GetSocketMapOrNull().Socket(name, out socket)); }
// Token: 0x06002306 RID: 8966 RVA: 0x00081C40 File Offset: 0x0007FE40 public static bool FindSocket <TSocket>(this global::Socket.Mapped mapped, int index, out TSocket socket) where TSocket : global::Socket, new() { return(mapped.GetSocketMapOrNull().Socket <TSocket>(index, out socket)); }