orca.shirako.api
Interface IController

All Superinterfaces:
IInitialize, ILoadSource, ISerialize
All Known Implementing Classes:
JawsController, SgeController

public interface IController
extends ILoadSource, ISerialize

IController is the main controller interface. A controller is a service manager object that can be associated with a slice. There can be at most one controller per slice, and every registered controller is invoked inside the actor main loop. The current usage of controllers is primarily for controlling a single application.


Method Summary
 Slice getSlice()
          Returns the slice the controller belongs to.
 void setSlice(Slice slice)
          Sets the slice this controller will be associated with.
 
Methods inherited from interface orca.shirako.api.ILoadSource
getLogger, setActor, tick
 
Methods inherited from interface orca.shirako.api.IInitialize
initialize
 
Methods inherited from interface orca.shirako.api.ISerialize
reset, save, save
 

Method Detail

getSlice

Slice getSlice()
Returns the slice the controller belongs to.

Returns:
slice the controller belongs to

setSlice

void setSlice(Slice slice)
Sets the slice this controller will be associated with.

Parameters:
slice -


Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.