void function ( AgentService arg0 ) { if ( this . service != null ) { throw new IllegalStateException ( "srini_string" ) ; } this . service = arg0 ; }
initializes this agent . this method is package protected to ensure that only agentservice can call it . concode_field_sep AgentService service concode_elem_sep String ADMIN concode_elem_sep int lastID concode_elem_sep String COORDINATOR concode_field_sep String getName concode_elem_sep void sendMessage concode_elem_sep void sendMessage concode_elem_sep void addTimeListener concode_elem_sep long getServerTime concode_elem_sep void simulationSetup concode_elem_sep void sendToRole concode_elem_sep void simulationFinished concode_elem_sep void sendMessages concode_elem_sep int getNextID concode_elem_sep void messageReceived concode_elem_sep String getAddress concode_elem_sep int generateNextID concode_elem_sep void simulationStopped concode_elem_sep void removeTimeListener