|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.distributed.ShoreMessagingHelper
public class ShoreMessagingHelper
Various attributes and classes associated with ShoreMessaging
| Nested Class Summary | |
|---|---|
static class |
ShoreMessagingHelper.ConnectFailed
|
static class |
ShoreMessagingHelper.Message
Message to be downlinked |
static class |
ShoreMessagingHelper.MessageTooBig
|
static class |
ShoreMessagingHelper.ModemInUse
|
| Field Summary | |
|---|---|
static java.lang.String |
MESSAGE_PREFIX
Prefix marks "standard" header |
static byte[] |
MSG_DELIMITER
Multiple messages in one downlink are separated by MSG_DELIMITER |
static java.lang.String |
SERVICE_NAME
Name of the service |
| Constructor Summary | |
|---|---|
ShoreMessagingHelper()
|
|
| Method Summary | |
|---|---|
static void |
bind(ShoreMessaging service)
Bind service to localhost |
static ShoreMessaging |
getProxy(java.lang.String serviceHost)
Return service proxy from specified host |
static byte[] |
prependHeader(byte[] msgBody,
long sourceID,
long epochMsec)
Prepend "standard" header to message |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MESSAGE_PREFIX
public static final java.lang.String SERVICE_NAME
public static final byte[] MSG_DELIMITER
| Constructor Detail |
|---|
public ShoreMessagingHelper()
| Method Detail |
|---|
public static void bind(ShoreMessaging service)
throws java.lang.Exception
java.lang.Exception
public static byte[] prependHeader(byte[] msgBody,
long sourceID,
long epochMsec)
public static ShoreMessaging getProxy(java.lang.String serviceHost)
throws java.lang.Exception
java.lang.Exception
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||