| Package | Description |
|---|---|
| me.legrange.swap |
An implementation of the SWAP protocol, including an interface to the serial SWAP modem.
|
| me.legrange.swap.tcp |
A client/server TCP implementation of SwapModem.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DecodingException
Thrown when a packet decoding error occurs.
|
class |
SerialException
Thrown when there is a Serial IO error
|
| Modifier and Type | Method and Description |
|---|---|
void |
SwapModem.close()
disconnect and close the modem
|
ModemSetup |
SwapModem.getSetup()
get the network setup
|
void |
SwapModem.open()
connect to the modem.
|
void |
SerialModem.open() |
void |
SwapModem.send(SwapMessage msg)
send a message out onto the network
|
void |
SwapModem.setSetup(ModemSetup setup)
set the network setup
|
| Modifier and Type | Class and Description |
|---|---|
class |
TcpException
Thrown by the TcpModem if there is a problem.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TcpModem.close() |
ModemSetup |
TcpModem.getSetup() |
void |
TcpModem.send(SwapMessage msg) |
void |
TcpModem.setSetup(ModemSetup newSetup) |
Copyright © 2015. All rights reserved.