public class MasterSNS extends java.lang.Object implements MasterMessageServer
MAX_BODY_SIZE| Constructor and Description |
|---|
MasterSNS(java.lang.String parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Connect to the JMS server
|
static java.lang.String |
expand(java.lang.String data,
java.lang.String timestamp) |
java.lang.String |
getCurrentClientID()
The current the client ID
|
static java.lang.String |
minimize(java.lang.String xml) |
void |
send(MutableDataSource mds,
long transNr,
DBObject[] list,
long transMS)
sends a message
|
void |
sendClear()
Send clear Message
|
void |
shutdown()
We are shutting down
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckTransHeaderExists, make, makeClear, makeMSGpublic void connect()
throws java.lang.Exception
MasterMessageServerconnect in interface MasterMessageServerjava.lang.Exception - A serious problem.public static java.lang.String minimize(@Nonnull
java.lang.String xml)
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String expand(@Nonnull
java.lang.String data,
@Nullable
java.lang.String timestamp)
throws java.lang.Exception
java.lang.Exceptionpublic void send(@Nonnull
MutableDataSource mds,
@Nonnegative
long transNr,
@Nonnull
DBObject[] list,
@Nonnegative
long transMS)
throws java.lang.Exception
MasterMessageServersend in interface MasterMessageServermds - the datasourcetransNr - the transaction numberlist - the object listtransMS - transaction time.java.lang.Exception - a serious problempublic java.lang.String getCurrentClientID()
MasterMessageServergetCurrentClientID in interface MasterMessageServerpublic void sendClear()
throws java.lang.Exception
MasterMessageServersendClear in interface MasterMessageServerjava.lang.Exceptionpublic void shutdown()
ShutdownListenershutdown in interface ShutdownListenerstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.