blob: 32524d93381f0f6bf1d018b0386ec8e863201438 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/* Copyright (c) 2016, Isode Limited, London, England.
* All rights reserved.
*
* Acquisition and use of this software and related materials for any
* purpose requires a written license agreement from Isode Limited,
* or a written license from an organisation licensed by Isode Limited
* to grant such a license.
*
*/
package com.isode.stroke.network;
import java.util.Vector;
/**
* Dummy {@link NetworkEnvironment} for testing, returns an empty vector
* of {@link NetworkInterface}
*/
public class DummyNetworkEnvironment extends NetworkEnvironment {
/**
* Constructor
*/
public DummyNetworkEnvironment() {
// Empty Constructor
}
@Override
public Vector<NetworkInterface> getNetworkInterfaces() {
return new Vector<NetworkInterface>();
}
}
|