View Javadoc
1   /**
2    * Copyright (C) 2010-14 pvmanager developers. See COPYRIGHT.TXT
3    * All rights reserved. Use is subject to license terms. See LICENSE.TXT
4    */
5   package org.epics.pvmanager;
6   
7   /**
8    * Called by the ChannelHandler once a write is completed.
9    *
10   * @author carcassi
11   */
12  public interface ChannelWriteCallback {
13      
14      /**
15       * Called when a write is completed. If completed without error,
16       * the argument is null.
17       * 
18       * @param ex the exception if the write failed, null otherwise
19       */
20      public void channelWritten(Exception ex);
21  }