a source code skeleton for openfire plugin