示例#1
0
            public static EndPointZone ice_read(Ice.InputStream istr)
            {
                var v = new EndPointZone();

                v.ice_readMembers(istr);
                return(v);
            }
示例#2
0
 public static void ice_write(Ice.OutputStream ostr, EndPointZone v)
 {
     if (v == null)
     {
         _nullMarshalValue.ice_writeMembers(ostr);
     }
     else
     {
         v.ice_writeMembers(ostr);
     }
 }
示例#3
0
            iceD_PlayerEnter(IZone obj, IceInternal.Incoming inS, Ice.Current current)
            {
                Ice.ObjectImpl.iceCheckMode(Ice.OperationMode.Normal, current.mode);
                var    istr = inS.startReadParams();
                string iceP_zoneId;

                iceP_zoneId = istr.readString();
                inS.endReadParams();
                return(inS.setResultTask <EndPointZone>(obj.PlayerEnterAsync(iceP_zoneId, current),
                                                        (ostr, ret) =>
                {
                    EndPointZone.ice_write(ostr, ret);
                }));
            }
示例#4
0
            private void _iceI_PlayerEnter(string iceP_zoneId, _System.Collections.Generic.Dictionary <string, string> context, bool synchronous, IceInternal.OutgoingAsyncCompletionCallback completed)
            {
                var outAsync = getOutgoingAsync <EndPointZone>(completed);

                outAsync.invoke(
                    _PlayerEnter_name,
                    Ice.OperationMode.Normal,
                    Ice.FormatType.DefaultFormat,
                    context,
                    synchronous,
                    write: (Ice.OutputStream ostr) =>
                {
                    ostr.writeString(iceP_zoneId);
                },
                    read: (Ice.InputStream istr) =>
                {
                    EndPointZone ret = null;
                    ret = EndPointZone.ice_read(istr);
                    return(ret);
                });
            }
示例#5
0
            public override bool Equals(object other)
            {
                if (object.ReferenceEquals(this, other))
                {
                    return(true);
                }
                if (other == null)
                {
                    return(false);
                }
                if (GetType() != other.GetType())
                {
                    return(false);
                }
                EndPointZone o = (EndPointZone)other;

                if (this.ip == null)
                {
                    if (o.ip != null)
                    {
                        return(false);
                    }
                }
                else
                {
                    if (!this.ip.Equals(o.ip))
                    {
                        return(false);
                    }
                }
                if (!this.port.Equals(o.port))
                {
                    return(false);
                }
                return(true);
            }