jremote jbase5.2.1

com.jbase.jremote.io
Class JRemoteSocketConnection

java.lang.Object
  extended by com.jbase.jremote.io.AbstractJRemoteConnection
      extended by com.jbase.jremote.io.JRemoteSocketConnection

public class JRemoteSocketConnection
extends AbstractJRemoteConnection

This class handles the connection and communication to the jListener server over a socket interface.

Author:
aphethean

Field Summary
static java.lang.String ACTION_TIMEOUT_PROPERTY
           
static java.lang.String ALLOW_INPUT
           
static java.lang.String CHARSET
           
static java.lang.String COMPRESSION_PROPERTY
           
static java.lang.String COMPRESSION_THRESHOLD_PROPERTY
           
static java.lang.String SSL_PROPERTY
           
static java.lang.String USE_NAIVE_TRUST_MANAGER_PROPERTY
           
 
Constructor Summary
JRemoteSocketConnection(java.lang.String host, int port)
           
JRemoteSocketConnection(java.lang.String host, int port, java.util.Properties info)
           
 
Method Summary
 void close()
           
 int compressionThreshold()
           
protected  void connect(java.lang.String host, int port)
           
 boolean isEnabledCompression()
           
 boolean isEnabledNaiveTrustManager()
           
 boolean isEnabledSSL()
           
 Response receive()
           
 void send(JRemoteRequest request)
           
 
Methods inherited from class com.jbase.jremote.io.AbstractJRemoteConnection
authenticate, authenticate, getCharset, getCharsetDecoder, getCharsetEncoder, sendWaitForResponse, setCharset, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SSL_PROPERTY

public static final java.lang.String SSL_PROPERTY
See Also:
Constant Field Values

USE_NAIVE_TRUST_MANAGER_PROPERTY

public static final java.lang.String USE_NAIVE_TRUST_MANAGER_PROPERTY
See Also:
Constant Field Values

COMPRESSION_PROPERTY

public static final java.lang.String COMPRESSION_PROPERTY
See Also:
Constant Field Values

COMPRESSION_THRESHOLD_PROPERTY

public static final java.lang.String COMPRESSION_THRESHOLD_PROPERTY
See Also:
Constant Field Values

ALLOW_INPUT

public static final java.lang.String ALLOW_INPUT
See Also:
Constant Field Values

CHARSET

public static final java.lang.String CHARSET
See Also:
Constant Field Values

ACTION_TIMEOUT_PROPERTY

public static final java.lang.String ACTION_TIMEOUT_PROPERTY
See Also:
Constant Field Values
Constructor Detail

JRemoteSocketConnection

public JRemoteSocketConnection(java.lang.String host,
                               int port,
                               java.util.Properties info)
                        throws JRemoteException
Throws:
JRemoteException

JRemoteSocketConnection

public JRemoteSocketConnection(java.lang.String host,
                               int port)
                        throws JRemoteException
Throws:
JRemoteException
Method Detail

connect

protected void connect(java.lang.String host,
                       int port)
                throws JRemoteException
Throws:
JRemoteException

send

public void send(JRemoteRequest request)
          throws JRemoteException
Specified by:
send in class AbstractJRemoteConnection
Throws:
JRemoteException

receive

public Response receive()
                 throws JRemoteException
Specified by:
receive in class AbstractJRemoteConnection
Throws:
JRemoteException

close

public void close()
           throws JRemoteException
Specified by:
close in class AbstractJRemoteConnection
Throws:
JRemoteException

isEnabledSSL

public boolean isEnabledSSL()

isEnabledNaiveTrustManager

public boolean isEnabledNaiveTrustManager()

isEnabledCompression

public boolean isEnabledCompression()

compressionThreshold

public int compressionThreshold()

jremote jbase5.2.1

Copyright © 2010 TEMENOS. All Rights Reserved.