diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-05-08 11:12:33 +0200 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-05-08 11:12:33 +0200 |
commit | acacdc5a43a7b7c268a425122cd0830e13d96ac9 (patch) | |
tree | 8277c0970ded8e476c7fadf3369a87ecd58f5787 /same | |
parent | 03f1fbd1040ab0a47a70dd383413dc287d4dd1cd (diff) |
Add ConnectionStateListener.
Diffstat (limited to 'same')
-rw-r--r-- | same/src/main/java/com/orbekk/same/ConnectionStateListener.java | 20 |
1 files changed, 20 insertions, 0 deletions
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 <kjetil.orbekk@gmail.com> + * + * 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); +} |