anon.mixminion
Class FirstMMRConnectionThread
java.lang.Object
anon.mixminion.FirstMMRConnectionThread
- All Implemented Interfaces:
- java.lang.Runnable
public class FirstMMRConnectionThread
- extends java.lang.Object
- implements java.lang.Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_tls
private TinyTLS m_tls
m_thread
private java.lang.Thread m_thread
m_name
private java.lang.String m_name
m_port
private int m_port
m_timeout
private long m_timeout
m_exception
private java.lang.Exception m_exception
m_oNotifySync
private java.lang.Object m_oNotifySync
m_proxyInterface
private ImmutableProxyInterface m_proxyInterface
FirstMMRConnectionThread
public FirstMMRConnectionThread(java.lang.String name,
int port,
long timeout,
ImmutableProxyInterface a_ProxyInterface)
- Constructor
- Parameters:
name
- hostport
- porttimeout
- timeouta_ProxyInterface
- a proxy interface
getConnection
public TinyTLS getConnection()
throws java.io.IOException
- gets a TinyTLS connection if no timeout is reached
- Returns:
- on succes : a tinytls connection
on timeout : null
- Throws:
java.io.IOException
run
public void run()
- Specified by:
run
in interface java.lang.Runnable