org.avineas.fins
public interface Transmitter
Modifier and Type | Method and Description |
---|---|
Response |
sendPacket(Address to,
Command command)
Send a command to an other FINS unit and receive the response.
|
Response sendPacket(Address to, Command command) throws java.io.IOException
Unit
implementations to communicate with other FINS units. It automatically takes
care of local or remote delivery of the command and waits for the response on this command
for a specific period of time. The response is returned to the caller.to
- The destination fins address to send the command tocommand
- The command that must be sentjava.io.IOException
- In case of severe errors