public class ProxyMessage extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
ADDED |
static String |
ADDPATH |
static String |
BYEPATH |
static boolean |
DELETED |
static String |
DELPATH |
static String |
PINGPATH |
| Constructor and Description |
|---|
ProxyMessage() |
ProxyMessage(DatagramPacket packet) |
ProxyMessage(ItemPath itemPath,
String path,
boolean state) |
ProxyMessage(String line) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
This is also used to create the message sent to the subscribers, therfore the format cannot
be changed without changing the parsing
|
public static final String BYEPATH
public static final String ADDPATH
public static final String DELPATH
public static final String PINGPATH
public static final boolean ADDED
public static final boolean DELETED
public ProxyMessage()
public ProxyMessage(String line) throws InvalidDataException, IOException
InvalidDataExceptionIOExceptionpublic ProxyMessage(DatagramPacket packet) throws InvalidDataException, IOException
InvalidDataExceptionIOExceptionCopyright © 1997–2020 CRISTAL-iSE. All rights reserved.