4 package org.pcmm.messages;
6 import java.util.Properties;
8 import org.umu.cops.stack.COPSMsg;
12 * Factory used to create {@code COPSMsg} based on message type input and a list
16 public interface IMessageFactory {
19 * creates a new message with the specified message type.
23 * @return new message.
25 COPSMsg create(byte messageType);
28 * creates a new message with the specified message type and content
34 * @return new message.
36 COPSMsg create(byte messageType, Properties properties);