public class UniqueIdIPMessageFactory extends IPPacketFactory
Modifier and Type | Class and Description |
---|---|
static class |
UniqueIdIPMessageFactory.Field |
Modifier and Type | Field and Description |
---|---|
protected static int |
FACTORY_ID |
protected int |
factoryID |
protected UniqueIdIPMessageFactory.Field |
field |
destinationId, groupId, length, sourceId, tag, typeId
CREATE_INSTANCE_METHOD_NAME
Constructor and Description |
---|
UniqueIdIPMessageFactory(long length,
int sourceId,
int destinationId,
int groupId,
int typeId,
double tag,
UniqueIdIPMessageFactory.Field field) |
Modifier and Type | Method and Description |
---|---|
protected void |
assignId(IPPacket packet) |
IPPacket |
create() |
static UniqueIdIPMessageFactory |
createInstance(SimNode ownNode,
Parameters pars)
as required by
ReflectionConstructable |
protected static int FACTORY_ID
protected int factoryID
protected UniqueIdIPMessageFactory.Field field
public UniqueIdIPMessageFactory(long length, int sourceId, int destinationId, int groupId, int typeId, double tag, UniqueIdIPMessageFactory.Field field)
public static UniqueIdIPMessageFactory createInstance(SimNode ownNode, Parameters pars)
ReflectionConstructable
public IPPacket create()
create
in interface Factory<Message>
create
in class IPPacketFactory
protected void assignId(IPPacket packet)