public void udpSend(String cmd, EzyData data)
        {
            EzyArrayBuilder commandData = EzyEntityFactory.newArrayBuilder()
                                          .append(cmd)
                                          .append(data);
            EzyArray requestData = EzyEntityFactory.newArrayBuilder()
                                   .append(id)
                                   .append(commandData.build())
                                   .build();

            client.udpSend(EzyCommand.PLUGIN_REQUEST, requestData);
        }
        public object Clone()
        {
            var answer = new EzyArray();

            foreach (Object item in list)
            {
                if (item is ICloneable)
                {
                    answer.add(((ICloneable)item).Clone());
                }
            }
            return(answer);
        }
Exemplo n.º 3
0
        public object Clone()
        {
            var answer = new EzyArray(inputTransformer, outputTransformer);

            foreach (Object item in list)
            {
                Object citem = item;
                if (item != null && item is ICloneable)
                {
                    citem = ((ICloneable)item).Clone();
                }
                answer.add(citem);
            }
            return(answer);
        }
Exemplo n.º 4
0
        public EzyArray duplicate <EzyArray>()
        {
            EzyArray c = (EzyArray)Clone();

            return(c);
        }