public boolean updateAttribute ( Attribute attribute ) throws IllegalStateException { if ( this . terminated ) { throw new IllegalStateException ( "Cannot send solutions to the World Model once the connection has been destroyed." ) ; } if ( this . canSend ) { return this . wmi . updateAttribute ( attribute ) ; } return this . attributeBuffer . offer ( attribute ) ; }
Sends a single attribute value update to the world model or buffers it to be sent later if the World Model is not connected .