org.jdiameter.client.impl.transport.tls
Class TLSTransportClient

java.lang.Object
  extended by org.jdiameter.client.impl.transport.tls.TLSTransportClient

public class TLSTransportClient
extends java.lang.Object

Author:
Bartosz Baranowski , Alexandre Mendonca

Field Summary
static int DEFAULT_BUFFER_SIZE
           
static int DEFAULT_STORAGE_SIZE
           
 
Constructor Summary
TLSTransportClient(TLSClientConnection parenConnection, IConcurrentFactory concurrentFactory, IMessageParser parser)
          Default constructor
 
Method Summary
 java.net.InetSocketAddress getDestAddress()
           
 java.net.InetSocketAddress getOrigAddress()
           
 TLSClientConnection getParent()
           
 void initialize()
           
 void initialize(java.net.Socket socket)
           
 void release()
           
 void setDestAddress(java.net.InetSocketAddress address)
           
 void setOrigAddress(java.net.InetSocketAddress address)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_BUFFER_SIZE

public static final int DEFAULT_BUFFER_SIZE
See Also:
Constant Field Values

DEFAULT_STORAGE_SIZE

public static final int DEFAULT_STORAGE_SIZE
See Also:
Constant Field Values
Constructor Detail

TLSTransportClient

public TLSTransportClient(TLSClientConnection parenConnection,
                          IConcurrentFactory concurrentFactory,
                          IMessageParser parser)
Default constructor

Parameters:
parenConnection - connection created this transport
Method Detail

initialize

public void initialize()
                throws java.io.IOException,
                       NotInitializedException
Throws:
java.io.IOException
NotInitializedException

initialize

public void initialize(java.net.Socket socket)
                throws java.io.IOException,
                       NotInitializedException
Throws:
java.io.IOException
NotInitializedException

start

public void start()
           throws NotInitializedException
Throws:
NotInitializedException

getParent

public TLSClientConnection getParent()

getDestAddress

public java.net.InetSocketAddress getDestAddress()

setDestAddress

public void setDestAddress(java.net.InetSocketAddress address)

setOrigAddress

public void setOrigAddress(java.net.InetSocketAddress address)

getOrigAddress

public java.net.InetSocketAddress getOrigAddress()

release

public void release()
             throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2014. All Rights Reserved.