public class SocketServerInstanceImpl extends Object implements SocketServerInstance
Cryptor to be used for secure traffic.| Modifier and Type | Class and Description |
|---|---|
static class |
SocketServerInstanceImpl.RemoteInvocationHandler |
| Constructor and Description |
|---|
SocketServerInstanceImpl(HostInfo info,
long synchTimeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(ObjectChannelFactory channelFactory) |
AuthenticationType |
getAuthenticationType() |
org.teiid.core.crypto.Cryptor |
getCryptor() |
HostInfo |
getHostInfo() |
String |
getServerVersion() |
<T> T |
getService(Class<T> iface) |
long |
getSynchTimeout() |
boolean |
isOpen() |
void |
read(long timeout,
TimeUnit unit,
ResultsFuture<?> future) |
void |
send(Message message,
ResultsReceiver<Object> listener,
Serializable messageKey) |
void |
shutdown() |
public SocketServerInstanceImpl(HostInfo info, long synchTimeout)
public void connect(ObjectChannelFactory channelFactory) throws CommunicationException, IOException
CommunicationExceptionIOExceptionpublic HostInfo getHostInfo()
getHostInfo in interface SocketServerInstancepublic String getServerVersion()
getServerVersion in interface SocketServerInstancepublic boolean isOpen()
isOpen in interface SocketServerInstancepublic void send(Message message, ResultsReceiver<Object> listener, Serializable messageKey) throws CommunicationException, InterruptedException
send in interface SocketServerInstanceCommunicationExceptionInterruptedExceptionpublic void shutdown()
shutdown in interface SocketServerInstancepublic org.teiid.core.crypto.Cryptor getCryptor()
getCryptor in interface SocketServerInstancepublic void read(long timeout,
TimeUnit unit,
ResultsFuture<?> future)
throws TimeoutException,
InterruptedException
read in interface SocketServerInstanceTimeoutExceptionInterruptedExceptionpublic <T> T getService(Class<T> iface)
getService in interface SocketServerInstancepublic long getSynchTimeout()
getSynchTimeout in interface SocketServerInstancepublic AuthenticationType getAuthenticationType()
getAuthenticationType in interface SocketServerInstanceCopyright © 2013 JBoss by Red Hat. All Rights Reserved.