@Override
        public void exec(Abonent abonent) {
            if(abonent instanceof Reciver){
                ((Reciver) abonent).setTestField(true);
            }
        }
    }

    private class Reciver implements Abonent, Runnable{
        private MessageSystem ms;
        private Address address;
        private boolean testField;


        public Reciver(MessageSystem ms){
            this.testField = false;
            this.ms = ms;
            this.address = new Address();
            this.ms.addService(this);
        }

        @Override
        public Address getAddress() {
            return this.address;
        }

        public boolean getTestField() {
            return this.testField;
        }

        public void setTestField(boolean testField) {
            this.testField = testField;
        }

        @Override
        public void run() {
            while (true) {
                this.ms.execForAbonent(this);

                try {
                    sleep(10);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }
        }