public static String toDebugString(final long socketIdentifier){
  final int ipBits=(int)socketIdentifier;
  final int port=extractPortNumber(socketIdentifier);
  final int inode=(int)(socketIdentifier >> 48);
  return Integer.toHexString(ipBits) + ":" + port+ "/"+ inode;
}

public static String toDebugString ( final long socketIdentifier ) { final int ipBits = ( int ) socketIdentifier ; final int port = extractPortNumber ( socketIdentifier ) ; final int inode = ( int ) ( socketIdentifier > > 48 ) ; return Integer . toHexString ( ipBits ) + ":" + port + "/" + inode ; }
generates a vaguely human - readable format for a given socket identifier .
