aboutsummaryrefslogtreecommitdiffstats
path: root/messagebus/src/main/java/com/yahoo/messagebus/Connectable.java
blob: c1a87727d6740d9c9e3437e59092f4e4e5b1f93f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Vespa.ai. 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();

}