public static boolean canConnect(Connector<?> c1, Connector<?> c2) {
		if( c1 == null || c2 == null ) return true;
		
		return c1.getPayloadClass() == c2.getPayloadClass() &&
			c1.getConnectorType().canConnectTo(c2.getConnectorType());
	}