public interface BusConductor
extends java.io.Flushable, java.lang.AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Request that the bus stop.
|
void |
flush()
Cleaning the bus will cause the trip to end and a new one to
begin.
|
void flush()
Batcher
so that
they can flush the bus.flush
in interface java.io.Flushable
void close()
close
in interface java.lang.AutoCloseable