All Packages Class Hierarchy This Package Previous Next Index
Class pia.amulet.hyphos.Hyphos
java.lang.Object
|
+----pia.amulet.hyphos.Hyphos
- public class Hyphos
- extends Object
Hyphos allows Java applications to talk to a Hyphos network. It
generates all the low level Hyphos headers, but requires the
application to generate the full Hyphos payload.
-
setSimulated(boolean)
- The Hyphos class can operate in simulated mode or real mode.
-
transmit(byte[], byte[], int)
- Transmit a packet over the Hyphos network.
setSimulated
public void setSimulated(boolean s)
- The Hyphos class can operate in simulated mode or real mode. In
simulated mode, unreliable amulets are implemented in software.
- Parameters:
- s - true if simulated mode, false if real
transmit
public void transmit(byte a[],
byte msg[],
int len)
- Transmit a packet over the Hyphos network.
- Parameters:
- a - The address of the target node
- msg - The Hyphos packet payload
- len - The length of msg
All Packages Class Hierarchy This Package Previous Next Index