|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.ibm.di.api.remote.impl.SystemQueueImpl
public class SystemQueueImpl
| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Method Summary | |
|---|---|
byte[] |
getBytesMessage(String aQueueName,
int aTimeOut)
Retrieves a BytesMessage from the specified System Queue |
Entry |
getEntry(String aQueueName,
int aTimeOut)
Retrieves an Entry object from the specified System Queue |
javax.jms.Message |
getMessage(String aQueueName,
int aTimeOut)
Retrieves a JMS Message from the specified System Queue |
String |
getTextMessage(String aQueueName,
int aTimeOut)
Retrieves a TextMessage from the specified System Queue |
static SystemQueue |
newInstance(SystemQueue localSystemQueue)
|
void |
putBytesMessage(String aQueueName,
byte[] aMessageBytes)
Stores a BytesMessage in the specified System Queue |
void |
putEntry(String aQueueName,
Entry aEntry)
Stores an Entry object to the specified System Queue |
void |
putMessage(String aQueueName,
javax.jms.Message aMessage)
Stores a Message to the specified System Queue |
void |
putTextMessage(String aQueueName,
String aMessageText)
Stores a TextMessage to the System Queue |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
|---|
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
|---|
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
|---|
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static SystemQueue newInstance(SystemQueue localSystemQueue)
throws RemoteException
RemoteException
public javax.jms.Message getMessage(String aQueueName,
int aTimeOut)
throws DIException,
RemoteException
SystemQueue
getMessage in interface SystemQueueaQueueName - - the name of the queue from which the message is
retrievedaTimeOut - - specifies the maximum time in seconds to wait for a new
message; if 0 is specified - if there is no message available this method
returns immediately; if a negative number is specified, this method will
wait indefinitely or until a message becomes available
DIException - if an error occurs during receiving
RemoteException - If the Server API RMI connection fails
public void putMessage(String aQueueName,
javax.jms.Message aMessage)
throws DIException,
RemoteException
SystemQueue
putMessage in interface SystemQueueaQueueName - - the name of the queue to which the message is to be
storedaMessage - - the Message object to be stored
DIException - if an error occurs during storing
RemoteException - If the Server API RMI connection fails
public String getTextMessage(String aQueueName,
int aTimeOut)
throws DIException,
RemoteException
SystemQueue
getTextMessage in interface SystemQueueaQueueName - - the name of the queue from which the message is
retrievedaTimeOut - - specifies the maximum time in seconds to wait for a new
message; if 0 is specified - if there is no message available this method
returns immediately; if a negative number is specified, this method will
wait indefinitely or until a message becomes available
DIException - if an error occurs during receiving
RemoteException - If the Server API RMI connection fails
public void putTextMessage(String aQueueName,
String aMessageText)
throws DIException,
RemoteException
SystemQueue
putTextMessage in interface SystemQueueaQueueName - - the name of the queue to which the message is to be
storedaMessageText - - the text to be stored
DIException - if an error occurs during sending
RemoteException - If the Server API RMI connection fails
public byte[] getBytesMessage(String aQueueName,
int aTimeOut)
throws DIException,
RemoteException
SystemQueue
getBytesMessage in interface SystemQueueaQueueName - - the name of the queue from which the message is
retrievedaTimeOut - - specifies the maximum time in seconds to wait for a new
message; if 0 is specified - if there is no message available this method
returns immediately; if a negative number is specified, this method will
wait indefinitely or until a message becomes available
DIException - if an error occurs during receiving
RemoteException - If the Server API RMI connection fails
public void putBytesMessage(String aQueueName,
byte[] aMessageBytes)
throws DIException,
RemoteException
SystemQueue
putBytesMessage in interface SystemQueueaQueueName - - the name of the queue to which the message is to be
storedaMessageBytes - - the byte array to be stored
DIException - if an error occurs during sending
RemoteException - If the Server API RMI connection fails
public Entry getEntry(String aQueueName,
int aTimeOut)
throws DIException,
RemoteException
SystemQueue
getEntry in interface SystemQueueaQueueName - - the name of the queue from which the message is
retrievedaTimeOut - - specifies the maximum time in seconds to wait for a new
message; if 0 is specified - if there is no message available this method
returns immediately; if a negative number is specified, this method will
wait indefinitely or until a message becomes available
DIException - if an error occurs during receiving, or if the
message retrieved is not an ObjectMessage or if the ObjectMessage
retrieved does not store a com.ibm.di.entry.Entry object
RemoteException - If the Server API RMI connection fails
public void putEntry(String aQueueName,
Entry aEntry)
throws DIException,
RemoteException
SystemQueue
putEntry in interface SystemQueueaQueueName - - the name of the queue to which the Entry is to be
storedaEntry - - the Entry object to be stored
DIException - if an error occurs during sending
RemoteException - If the Server API RMI connection fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||