aboutsummaryrefslogtreecommitdiffstats
path: root/messagebus/src/main/java/com/yahoo/messagebus/Connectable.java
blob: 354548a3cf36fe7ab03be3946b6dcaf56cce7c74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.messagebus;

/**
 * Something which can be connected to a network when ready to receive incoming requests.
 *
 * @author jonmv
 */
public interface Connectable {

    void connect();
    void disconnect();

}