org.apache.wicket.threadtest.apps.app2
Class Connection

java.lang.Object
  extended by org.apache.wicket.threadtest.apps.app2.Connection

public class Connection
extends Object


Constructor Summary
Connection(String id)
          Construct.
 
Method Summary
 boolean equals(Object obj)
           
 String getData()
           
 String getId()
          Gets id.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Connection

public Connection(String id)
Construct.

Parameters:
id - the connection id
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getData

public String getData()
Returns:
information about the connection, session and the current thread

getId

public String getId()
Gets id.

Returns:
id

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.