public class Sender extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
directory |
protected DataBoxManager |
manager |
protected String |
receiverId |
protected MessageValidator |
validator |
| Constructor and Description |
|---|
Sender(DataBoxManager manager,
String receiverId,
String directory) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getBytesFromFile(File file) |
static void |
main(String[] args) |
void |
send() |
protected final DataBoxManager manager
protected final String receiverId
protected final String directory
protected final MessageValidator validator
public Sender(DataBoxManager manager, String receiverId, String directory)
public static byte[] getBytesFromFile(File file) throws IOException
IOExceptionCopyright © 2016. All rights reserved.