1 /* Copyright (C)2013 Pantheon Technologies, s.r.o. All rights reserved. */
3 package org.opendaylight.openflowjava.protocol.api.connection;
5 import java.net.InetAddress;
9 * @author michal.polkorab
12 public interface SwitchConnectionHandler {
15 * @param connection to switch proving message sending/receiving, connection management
17 public void onSwitchConnected(ConnectionAdapter connection);
20 * @param switchAddress
21 * @return true, if connection from switch having given address shell be accepted; false otherwise
23 public boolean accept(InetAddress switchAddress);