org.fuin.examples.srcgen4javassist.factory
Interface IController


public interface IController

Example controller interface.


Method Summary
 boolean start()
          Starts the controller.
 void stop()
          Stops the controller.
 void update(int id, java.lang.String message)
          Update a message.
 

Method Detail

start

boolean start()
Starts the controller.

Returns:
If the controller was started successfully true else false.

update

void update(int id,
            java.lang.String message)
            throws UpdateException
Update a message.

Parameters:
id - ID of the message.
message - Text.
Throws:
UpdateException - The update was not successful.

stop

void stop()
Stops the controller.



Copyright © 2010 Future Invent Informationsmanagement GmbH. All Rights Reserved.