|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.io.OutputStream
|
+--java.io.FilterOutputStream
|
+--dk.itu.haas.GPS.Garmin.GarminOutputStream
This class take care of adding DLE-stuffing to all packets sent to the GPS. NOTE: Only the method write(GarminPacket) performs addition of DLE-stuffing. The remaining methods write directly to the GPS without format-control.
| Field Summary |
| Fields inherited from class java.io.FilterOutputStream |
out |
| Constructor Summary | |
GarminOutputStream(java.io.OutputStream o)
|
|
| Method Summary | |
void |
write(GarminPacket packet)
|
| Methods inherited from class java.io.FilterOutputStream |
close, flush, write, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GarminOutputStream(java.io.OutputStream o)
| Method Detail |
public void write(GarminPacket packet)
throws java.io.IOException,
InvalidPacketException
java.io.IOException
InvalidPacketException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||