⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 connectorlistener.java

📁 Examples to create your Conferencing System in .NET, C# VOIP & Video Conferencing Systems using H.32
💻 JAVA
字号:
/*
 * Copyright 2004 WIT-Software, Lda. 
 * - web: http://www.wit-software.com 
 * - email: info@wit-software.com
 *
 * All rights reserved. Relased under terms of the 
 * Creative Commons' Attribution-NonCommercial-ShareAlike license.
 */
package handlers;

import java.nio.channels.SocketChannel;

/**
 * Callback interface for receiving events from a Connector. 
 * 
 * @author Nuno Santos
 */
public interface ConnectorListener {
  /**
   * Called when the connection is fully established. 
   * @param connector The source of this event. 
   * @param sc The newly connected socket.
   */
  public void connectionEstablished(Connector connector, SocketChannel sc);
  /**
   * Called when the connection fails to be established.
   * @param connector The source of this event.
   * @param cause The cause of the error.
   */
  public void connectionFailed(Connector connector, Exception cause);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -