From acacdc5a43a7b7c268a425122cd0830e13d96ac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Tue, 8 May 2012 11:12:33 +0200 Subject: Add ConnectionStateListener. --- .../com/orbekk/same/ConnectionStateListener.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 same/src/main/java/com/orbekk/same/ConnectionStateListener.java (limited to 'same/src/main') diff --git a/same/src/main/java/com/orbekk/same/ConnectionStateListener.java b/same/src/main/java/com/orbekk/same/ConnectionStateListener.java new file mode 100644 index 0000000..7e54a77 --- /dev/null +++ b/same/src/main/java/com/orbekk/same/ConnectionStateListener.java @@ -0,0 +1,20 @@ +/** + * Copyright 2012 Kjetil Ørbekk + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.orbekk.same; + +public interface ConnectionStateListener { + void connectionStatusChanged(ConnectionState state); +} -- cgit v1.2.3