I figured I would attach the Connector/Adapter information as that might help you figure things out.
GeoEventDefinition complex = new DefaultGeoEventDefinition();
complex.setName("SGCustom");
complex.setOwner("StrataGIS");
List<FieldDefinition> topLevelFields = new ArrayList<FieldDefinition>();
topLevelFields.add(new DefaultFieldDefinition("DeviceId",
FieldType.String, "TRACK_ID"));
topLevelFields.add(new DefaultFieldDefinition("TimeStamp",
FieldType.Date, "TIME_START"));
topLevelFields.add(new DefaultFieldDefinition("Shape",
FieldType.Geometry, "GEOMETRY"));
topLevelFields.add(new DefaultFieldDefinition("Validity",
FieldType.String));
topLevelFields.add(new DefaultFieldDefinition("Speed",
FieldType.Double));
topLevelFields.add(new DefaultFieldDefinition("Course",
FieldType.Double));
topLevelFields.add(new DefaultFieldDefinition("Variation",
FieldType.Double));
topLevelFields.add(new DefaultFieldDefinition("EastWest",
FieldType.String));
topLevelFields.add(new DefaultFieldDefinition("VehicleId",
FieldType.String, "VEHICLE_ID"));
complex.setFieldDefinitions(topLevelFields);
geoEventDefinitions.put(complex.getName(), complex);
Uri adapterUri = new Uri();
adapterUri.setDomain("com.stratagis.geoevent.customadapter");
adapterUri.setName("StrataGIS");
adapterUri.setVersion("0.0.1");
Uri transportUri = new Uri();
transportUri.setDomain("com.esri.ges.transport.inbound");
transportUri.setName("UDP");
transportUri.setVersion("10.2.1");
Connector newConnector = new Connector("StrataGIS", "stratagis-in",
ConnectorType.inbound, adapterUri, transportUri,
"StrataGIS Connector",
"This connector works with the custom coded devices from StrataGIS");
ConnectorProperty portProperty = new ConnectorProperty(
Source.transport, "port", "1721", "Communication Port ");
newConnector.addShownProperty(portProperty);
connectors.add(newConnector);