Message body state where the message is eradable and writable. A freshly created or clearBody()-ed TextMessage, ObjectMessage and MapMessage that is in this state. @author Weiqi Gao
| 17 | * @author Weiqi Gao |
| 18 | */ |
| 19 | public class MessageStateWritable implements MessageState { |
| 20 | public void checkReadable() throws MessageNotReadableException { |
| 21 | // No-op |
| 22 | } |
| 23 | |
| 24 | public void checkWritable() { |
| 25 | // No-op |
| 26 | } |
| 27 | |
| 28 | public void makeReadable() { |
| 29 | // No-op |
| 30 | } |
| 31 | |
| 32 | public void makeWritable() { |
| 33 | // No-op |
| 34 | } |
| 35 | } |
nothing calls this directly
no outgoing calls
no test coverage detected