List of usage examples for org.apache.commons.net.tftp TFTPErrorPacket UNDEFINED
int UNDEFINED
To view the source code for org.apache.commons.net.tftp TFTPErrorPacket UNDEFINED.
Click Source Link
From source file:org.mobicents.slee.resource.tftp.TFTPTransfer.java
private void fireEvent(TFTPPacket packet) throws Exception { RequestEvent event = new RequestEventImpl(packet, this); try {//from ww w . ja va 2 s . com ra_.fireEvent(event, activity_, packet.getAddress().toString()); } catch (Exception e) { transferTftp_.bufferedSend(new TFTPErrorPacket(packet.getAddress(), packet.getPort(), TFTPErrorPacket.UNDEFINED, e.getMessage())); throw e; } }