Package com.yahoo.messagebus.jdisc.test
Class RemoteClient
java.lang.Object
com.yahoo.messagebus.jdisc.test.RemoteClient
- Author:
- Simon Thoresen Hult
-
Method Summary
Modifier and TypeMethodDescriptioncom.yahoo.messagebus.ReplyawaitReply(int timeout, TimeUnit unit) voidclose()static RemoteClientnewInstanceWithInternSlobrok(boolean network) static RemoteClientnewInstanceWithProtocolAndInternSlobrok(com.yahoo.messagebus.Protocol protocol, boolean network) com.yahoo.messagebus.ResultsendMessage(com.yahoo.messagebus.Message msg) com.yahoo.cloud.config.SlobroksConfig
-
Method Details
-
sendMessage
public com.yahoo.messagebus.Result sendMessage(com.yahoo.messagebus.Message msg) -
awaitReply
public com.yahoo.messagebus.Reply awaitReply(int timeout, TimeUnit unit) throws InterruptedException - Throws:
InterruptedException
-
slobroksConfig
public com.yahoo.cloud.config.SlobroksConfig slobroksConfig() -
close
public void close() -
newInstanceWithInternSlobrok
-
newInstanceWithProtocolAndInternSlobrok
public static RemoteClient newInstanceWithProtocolAndInternSlobrok(com.yahoo.messagebus.Protocol protocol, boolean network)
-