Retrieves the message ID
()
| 148 | * Retrieves the message ID |
| 149 | */ |
| 150 | public int |
| 151 | getID() { |
| 152 | if (id >= 0) |
| 153 | return id; |
| 154 | synchronized (this) { |
| 155 | if (id < 0) |
| 156 | id = random.nextInt(0xffff); |
| 157 | return id; |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | /** |
| 162 | * Sets the message ID |
no outgoing calls
no test coverage detected