int sessionId = dm.getsessionId();
DataMessage eof = new DataMessage().setEof()
.setSessionID((byte)sessionId);
eof.send(os);
CloseMessage cm = new CloseMessage();
cm.send(os);
if (!abortReceived(is)) {
throw new TestException("The client did not"
+ " send an Abort message");
}
}