this.supportedTypes = supportedTypes;
if (requiresSerialization) {
Map<String, BufferStructure> buffers = (Map<String, BufferStructure>) properties
.get("blacktie.domain.buffers");
BufferStructure buffer = buffers.get(subtype);
if (buffer == null) {
throw new ConnectionException(Connection.TPEOS,
"Subtype was not registered: " + subtype);
}
this.len = buffer.wireSize;