public String toStateString ( ) { StringBuffer buff = new StringBuffer ( ) ; buff . append ( "Host: " ) ; buff . append ( this . hostname ) ; buff . append ( ' ' ) ; buff . append ( this . port ) ; buff . append ( "\n" ) ; return buff . toString ( ) ; }
Returns a string containing the connection details .