setContentFactory abstract method

void setContentFactory(
  1. String msgType,
  2. ContentFactory factory
)

Set the content factory for a message type.

msgType is the message type identifier. factory is the factory to be registered.

Implementation

void setContentFactory(String msgType, ContentFactory factory);