network
Class Communication
java.lang.Object
network.Communication
public abstract class Communication
- extends Object
The component closest to the network level, responsible for sending data on the network and
respecting the Teamshare security policies (communication is encrypted).
Field Summary |
(package private) Crypto |
crypto
Uses crypto from the the security module to encrypt/decrypt communication. |
Method Summary |
abstract void |
sendData(Object data,
ConnectivityInfo destination)
Sends data over the network to the IP address and port given by the destination, first encrypting it. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
crypto
Crypto crypto
- Uses crypto from the the
security
module to encrypt/decrypt communication.
Communication
public Communication()
sendData
public abstract void sendData(Object data,
ConnectivityInfo destination)
- Sends data over the network to the IP address and port given by the destination, first encrypting it.
- Parameters:
data
- - the data to be sent; the type is not relevant at this leveldestination
- - the connectivity information (IP address and port) of a remote service or another device.