trigger = new TypedIOPort(this, "trigger", true, false);
trigger.setTypeEquals(BaseType.GENERAL);
trigger.setMultiport(true);
// parameters - Ordering here sets the order they show up in Vergil
localSocketNumber = new Parameter(this, "localSocketNumber");
localSocketNumber.setTypeEquals(BaseType.INT);
localSocketNumber.setToken(new IntToken(4004));
actorBufferLength = new Parameter(this, "actorBufferLength");
actorBufferLength.setTypeEquals(BaseType.INT);
actorBufferLength.setToken(new IntToken(440));
platformBufferLength = new Parameter(this, "platformBufferLength");
platformBufferLength.setTypeEquals(BaseType.INT);
platformBufferLength.setToken(new IntToken(64));
setPlatformBufferLength = new Parameter(this,
"setPlatformBufferLength", new BooleanToken(false));
setPlatformBufferLength.setTypeEquals(BaseType.BOOLEAN);
overwrite = new Parameter(this, "overwrite", new BooleanToken(true));
overwrite.setTypeEquals(BaseType.BOOLEAN);
blockAwaitingDatagram = new Parameter(this, "blockAwaitingDatagram");
blockAwaitingDatagram.setTypeEquals(BaseType.BOOLEAN);
blockAwaitingDatagram.setExpression("true");
defaultReturnAddress = new Parameter(this, "defaultReturnAddress");
defaultReturnAddress.setTypeEquals(BaseType.STRING);
defaultReturnAddress.setToken(new StringToken("localhost"));
defaultReturnSocketNumber = new Parameter(this,
"defaultReturnSocketNumber");
defaultReturnSocketNumber.setTypeEquals(BaseType.INT);
defaultReturnSocketNumber.setExpression("0");
defaultOutput = new Parameter(this, "defaultOutput");
defaultOutput.setTypeEquals(new ArrayType(BaseType.UNSIGNED_BYTE));
defaultOutput.setExpression("{0ub}");
// Repeat has not been implemented. However, I'd place it
// here so that it would show up in Vergil below