blob: b39217b413d22a0fae6846663b363a92bae968a1 (
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 Yahoo. 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();
}
|