|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UIProxy
| Method Summary | |
|---|---|
void |
disposeBuffer(String clientid,
String bufferid)
Dispose a buffer. |
void |
disposeClient(String clientid)
Dispose a whole client. |
String[] |
poll(String clientid,
String bufferid)
Poll all buffered notifications for the specified client and buffer. |
void |
renewLease(String clientid)
Renew the lease for the specified client. |
void |
setBufferProperty(String clientid,
String bufferid,
String key,
String value)
Set a property of a buffer. |
String |
subscribe(String clientid,
String subscription,
String buffertype,
String[] propkeys,
String[] propvalues)
Subscribe for messages at a publisher. |
| Method Detail |
|---|
String subscribe(String clientid,
String subscription,
String buffertype,
String[] propkeys,
String[] propvalues)
throws SubscriptionFailed
clientid - The UUID of the client.subscription - Specification of the subscription.buffertype - The type of the buffer to be created.propkeys - The keys of the properties of the buffer, same index as propvalues.propvalues - The values of the properties of the buffer, same index as propkeys.
SubscriptionFailed - If the subscription failed.void renewLease(String clientid)
clientid - The UUID of the client.
void setBufferProperty(String clientid,
String bufferid,
String key,
String value)
throws BufferException
clientid - The UUID of the client.bufferid - The UUID of the buffer.key - The name of the property.value - The value of the property
BufferException - If an exception occured when setting the property.
void disposeBuffer(String clientid,
String bufferid)
clientid - The UUID of the client.bufferid - The UUID of the buffer.void disposeClient(String clientid)
clientid - The UUID of the client.
String[] poll(String clientid,
String bufferid)
throws CodecException,
BufferException,
UnknownClientException,
UnknownBufferException
BufferException - If a exception occured at the buffer when handling a message. In that case the client will have to create a new
Buffer.
UnknownClientException - If the specified client is unknown to the UIProxy. This may also happen if the lease has timed out for the
specified client.
UnknownBufferException - If the specified buffer is unknown to the UIProxy. This may also happen if the buffer previously encountered
a BufferException.
specified client.
CodecException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||