blob: 787c1d7f0cea3ecdd5cf18c8dc456af784dd3faa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.messagebus.shared;
import com.yahoo.jdisc.SharedResource;
import com.yahoo.messagebus.Connectable;
import com.yahoo.messagebus.MessageHandler;
import com.yahoo.messagebus.Reply;
/**
* @author Simon Thoresen Hult
*/
public interface ServerSession extends SharedResource, Connectable {
MessageHandler getMessageHandler();
void setMessageHandler(MessageHandler msgHandler);
void sendReply(Reply reply);
String connectionSpec();
String name();
}
|