protected AVTransportStateMachine createStateMachine(UnsignedIntegerFourBytes instanceId) { // Create a proxy that delegates all calls to the right state implementation, working on the T // state return StateMachineBuilder.build( stateMachineDefinition, initialState, new Class[] {transportClass}, new Object[] {createTransport(instanceId, getLastChange())}); }