예제 #1
0
            public static MasterProperty ice_read(Ice.InputStream istr)
            {
                var v = new MasterProperty();

                v.ice_readMembers(istr);
                return(v);
            }
예제 #2
0
            private _System.Threading.Tasks.Task _iceI_SetPropertyAsync(MasterProperty iceP_property, Ice.OptionalContext context, _System.IProgress <bool> progress, _System.Threading.CancellationToken cancel, bool synchronous)
            {
                var completed = new IceInternal.OperationTaskCompletionCallback <object>(progress, cancel);

                _iceI_SetProperty(iceP_property, context, synchronous, completed);
                return(completed.Task);
            }
예제 #3
0
            iceD_SetProperty(IRoleMaster obj, IceInternal.Incoming inS, Ice.Current current)
            {
                Ice.ObjectImpl.iceCheckMode(Ice.OperationMode.Normal, current.mode);
                var            istr = inS.startReadParams();
                MasterProperty iceP_property;

                iceP_property = new MasterProperty();
                iceP_property.ice_readMembers(istr);
                inS.endReadParams();
                return(inS.setResultTask(obj.SetPropertyAsync(iceP_property, current)));
            }
예제 #4
0
 public void SetProperty(MasterProperty property, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     try
     {
         _iceI_SetPropertyAsync(property, context, null, _System.Threading.CancellationToken.None, true).Wait();
     }
     catch (_System.AggregateException ex_)
     {
         throw ex_.InnerException;
     }
 }
예제 #5
0
            iceD_PropertyChanged(IRoleMasterPush obj, IceInternal.Incoming inS, Ice.Current current)
            {
                Ice.ObjectImpl.iceCheckMode(Ice.OperationMode.Normal, current.mode);
                var            istr = inS.startReadParams();
                MasterProperty iceP_property;

                iceP_property = new MasterProperty();
                iceP_property.ice_readMembers(istr);
                inS.endReadParams();
                obj.PropertyChanged(iceP_property, current);
                return(inS.setResult(inS.writeEmptyParams()));
            }
예제 #6
0
            private void _iceI_SetProperty(MasterProperty iceP_property, _System.Collections.Generic.Dictionary <string, string> context, bool synchronous, IceInternal.OutgoingAsyncCompletionCallback completed)
            {
                var outAsync = getOutgoingAsync <object>(completed);

                outAsync.invoke(
                    _SetProperty_name,
                    Ice.OperationMode.Normal,
                    Ice.FormatType.DefaultFormat,
                    context,
                    synchronous,
                    write: (Ice.OutputStream ostr) =>
                {
                    iceP_property.ice_writeMembers(ostr);
                });
            }
예제 #7
0
            private void _iceI_GetProperty(_System.Collections.Generic.Dictionary <string, string> context, bool synchronous, IceInternal.OutgoingAsyncCompletionCallback completed)
            {
                var outAsync = getOutgoingAsync <MasterProperty>(completed);

                outAsync.invoke(
                    _GetProperty_name,
                    Ice.OperationMode.Idempotent,
                    Ice.FormatType.DefaultFormat,
                    context,
                    synchronous,
                    read: (Ice.InputStream istr) =>
                {
                    MasterProperty ret = new MasterProperty();
                    ret.ice_readMembers(istr);
                    return(ret);
                });
            }
예제 #8
0
            public override bool Equals(object other)
            {
                if (!(other is MasterProperty))
                {
                    return(false);
                }
                MasterProperty o = (MasterProperty)other;

                if (!this.str.Equals(o.str))
                {
                    return(false);
                }
                if (!this.agil.Equals(o.agil))
                {
                    return(false);
                }
                if (!this.intel.Equals(o.intel))
                {
                    return(false);
                }
                return(true);
            }
예제 #9
0
 public abstract void PropertyChanged(MasterProperty property, Ice.Current current = null);
예제 #10
0
 public Ice.AsyncResult begin_SetProperty(MasterProperty property, Ice.OptionalContext context, Ice.AsyncCallback callback, object cookie)
 {
     return(begin_SetProperty(property, context, callback, cookie, false));
 }
예제 #11
0
            private Ice.AsyncResult <Callback_IRoleMaster_SetProperty> begin_SetProperty(MasterProperty iceP_property, _System.Collections.Generic.Dictionary <string, string> context, Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
            {
                var completed = new IceInternal.OperationAsyncResultCompletionCallback <Callback_IRoleMaster_SetProperty, object>(
                    (Callback_IRoleMaster_SetProperty cb, object ret) =>
                {
                    if (cb != null)
                    {
                        cb.Invoke();
                    }
                },
                    this, _SetProperty_name, cookie, completedCallback);

                _iceI_SetProperty(iceP_property, context, synchronous, completed);
                return(completed);
            }
예제 #12
0
 public abstract _System.Threading.Tasks.Task SetPropertyAsync(MasterProperty property, Ice.Current current = null);
예제 #13
0
 public Ice.AsyncResult <Callback_IRoleMaster_SetProperty> begin_SetProperty(MasterProperty property, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     return(begin_SetProperty(property, context, null, null, false));
 }
예제 #14
0
 public static void ice_write(Ice.OutputStream ostr, MasterProperty v)
 {
     v.ice_writeMembers(ostr);
 }
예제 #15
0
 public _System.Threading.Tasks.Task SetPropertyAsync(MasterProperty property, Ice.OptionalContext context = new Ice.OptionalContext(), _System.IProgress <bool> progress = null, _System.Threading.CancellationToken cancel = new _System.Threading.CancellationToken())
 {
     return(_iceI_SetPropertyAsync(property, context, progress, cancel, false));
 }
예제 #16
0
 public RoleMaster(MasterProperty property)
 {
     this.property = property;
     ice_initialize();
 }
예제 #17
0
 public Ice.AsyncResult <Callback_IRoleMasterPush_PropertyChanged> begin_PropertyChanged(MasterProperty property, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     return(begin_PropertyChanged(property, context, null, null, false));
 }
예제 #18
0
 public Ice.AsyncResult begin_PropertyChanged(MasterProperty property, Ice.AsyncCallback callback, object cookie)
 {
     return(begin_PropertyChanged(property, new Ice.OptionalContext(), callback, cookie, false));
 }