Electrically the transistor in an open collector configuration acts just like a mechanical on-off switch (except with the benefits listed previously).