pub trait IPmModule: IObject {
fn initialize(
&mut self,
id: ModuleId,
dependencies: InMapAliasBuffer<ModuleId>
) -> Result<CopyHandle>;
fn get_request(&mut self) -> Result<(State, u32)>;
fn acknowledge(&mut self) -> Result<()>;
fn finalize(&mut self) -> Result<()>;
fn acknowledge_ex(&mut self, state: State) -> Result<()>;
fn sf_server_impl_initialize(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_get_request(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_acknowledge(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_finalize(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_acknowledge_ex(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn get_sf_command_metadata_table(&self) -> CommandMetadataTable { ... }
}