[Beepcore-java-commits] CVS: beepcore-java/src/org/beepcore/beep/core Message.java,1.13,1.14 Message
Status: Beta
Brought to you by:
huston
From: Huston F. <hu...@us...> - 2004-01-01 16:40:43
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core In directory sc8-pr-cvs1:/tmp/cvs-serv28221/src/org/beepcore/beep/core Modified Files: Message.java MessageImpl.java Log Message: Removed deprecated methods Index: Message.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/Message.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** Message.java 31 Dec 2003 17:46:28 -0000 1.13 --- Message.java 1 Jan 2004 16:40:38 -0000 1.14 *************** *** 88,122 **** */ public int getMessageType(); - - /** - * @deprecated use method on MessageMSG instead. - */ - public MessageStatus sendANS(OutputDataStream stream) throws BEEPException; - - /** - * @deprecated use method on MessageMSG instead. - */ - public MessageStatus sendERR(BEEPError error) throws BEEPException; - - /** - * @deprecated use method on MessageMSG instead. - */ - public MessageStatus sendERR(int code, String diagnostic) - throws BEEPException; - - /** - * @deprecated use method on MessageMSG instead. - */ - public MessageStatus sendERR(int code, String diagnostic, String xmlLang) - throws BEEPException; - - /** - * @deprecated use method on MessageMSG instead. - */ - public MessageStatus sendNUL() throws BEEPException; - - /** - * @deprecated use method on MessageMSG instead. - */ - public MessageStatus sendRPY(OutputDataStream stream) throws BEEPException; } --- 88,90 ---- Index: MessageImpl.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/MessageImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** MessageImpl.java 3 Jun 2003 16:38:35 -0000 1.1 --- MessageImpl.java 1 Jan 2004 16:40:38 -0000 1.2 *************** *** 177,291 **** } - /** - * Sends a message of type ANS. - * - * @param stream Data to send in the form of <code>OutputDataStream</code>. - * - * @see OutputDataStream - * @see MessageStatus - * @see #sendNUL - * - * @return MessageStatus - * - * @throws BEEPException if an error is encoutered or if messageType is - * not MESSAGE_TYPE_MSG. - */ - public MessageStatus sendANS(OutputDataStream stream) throws BEEPException - { - throw new BEEPException(NOT_MESSAGE_TYPE_MSG); - } - - /** - * Sends a message of type ERR. - * - * @param error Error to send in the form of <code>BEEPError</code>. - * - * @see BEEPError - * @see MessageStatus - * - * @return MessageStatus - * - * @throws BEEPException if an error is encoutered or if messageType is - * not MESSAGE_TYPE_MSG. - */ - public MessageStatus sendERR(BEEPError error) throws BEEPException - { - throw new BEEPException(NOT_MESSAGE_TYPE_MSG); - } - - /** - * Sends a message of type ERR. - * - * @param code <code>code</code> attibute in <code>error</code> element. - * @param diagnostic Message for <code>error</code> element. - * - * @see MessageStatus - * - * @return MessageStatus - * - * @throws BEEPException if an error is encoutered or if messageType is - * not MESSAGE_TYPE_MSG. - */ - public MessageStatus sendERR(int code, String diagnostic) - throws BEEPException - { - throw new BEEPException(NOT_MESSAGE_TYPE_MSG); - } - - /** - * Sends a message of type ERR. - * - * @param code <code>code</code> attibute in <code>error</code> element. - * @param diagnostic Message for <code>error</code> element. - * @param xmlLang <code>xml:lang</code> attibute in <code>error</code> - * element. - * - * @see MessageStatus - * - * @return MessageStatus - * - * @throws BEEPException if an error is encoutered or if messageType is - * not MESSAGE_TYPE_MSG. - */ - public MessageStatus sendERR(int code, String diagnostic, String xmlLang) - throws BEEPException - { - throw new BEEPException(NOT_MESSAGE_TYPE_MSG); - } - - /** - * Sends a message of type NUL. - * - * @see MessageStatus - * @see #sendANS - * - * @return MessageStatus - * - * @throws BEEPException if an error is encoutered or if messageType is - * not MESSAGE_TYPE_MSG. - */ - public MessageStatus sendNUL() throws BEEPException - { - throw new BEEPException(NOT_MESSAGE_TYPE_MSG); - } - - /** - * Sends a message of type RPY. - * - * @param stream Data to send in the form of <code>OutputDataStream</code>. - * - * @see OutputDataStream - * @see MessageStatus - * - * @return MessageStatus - * - * @throws BEEPException if an error is encoutered or if messageType is - * not MESSAGE_TYPE_MSG. - */ - public MessageStatus sendRPY(OutputDataStream stream) throws BEEPException - { - throw new BEEPException(NOT_MESSAGE_TYPE_MSG); - } - boolean isNotified() { --- 177,180 ---- |