|
|||||||||
| Home >> All >> proxy >> [ bearer overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
proxy.bearer
Class PreparedMessages

java.lang.Objectproxy.bearer.PreparedMessages
- public class PreparedMessages
- extends java.lang.Object
Description: This is data structere that stores messages prepared for delivery.
- Version:
- 1.0
| Field Summary | |
private java.util.HashMap |
ackns
my acknowledges |
private java.util.HashMap |
wm
my collection of waiting messages |
| Constructor Summary | |
PreparedMessages()
default constructor |
|
| Method Summary | |
void |
delete(ClientIdentifier ci,
int id)
get pointed message for given destination. |
PreparedMessage |
get(ClientIdentifier ci)
get first message for given destination. |
java.lang.Integer[] |
getAcknowledges(ClientIdentifier ci)
returns all all acknowledges for give client, and deletes those acknowledges |
private void |
log(java.lang.String s)
|
void |
put(ClientIdentifier ci,
PreparedMessage pm)
insert new message into data structere |
void |
putAcknowledges(ClientIdentifier ci,
int[] arr)
saves number of int representing messages received from given mobile append them to previous acknowledges if there are any |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
wm
private java.util.HashMap wm
- my collection of waiting messages
ackns
private java.util.HashMap ackns
- my acknowledges
| Constructor Detail |
PreparedMessages
public PreparedMessages()
- default constructor
| Method Detail |
put
public void put(ClientIdentifier ci, PreparedMessage pm)
- insert new message into data structere
get
public PreparedMessage get(ClientIdentifier ci)
- get first message for given destination.
delete
public void delete(ClientIdentifier ci, int id)
- get pointed message for given destination.
putAcknowledges
public void putAcknowledges(ClientIdentifier ci, int[] arr)
- saves number of int representing messages received from given mobile
append them to previous acknowledges if there are any
getAcknowledges
public java.lang.Integer[] getAcknowledges(ClientIdentifier ci)
- returns all all acknowledges for give client, and deletes those acknowledges
log
private void log(java.lang.String s)
|
|||||||||
| Home >> All >> proxy >> [ bearer overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
proxy.bearer.PreparedMessages