FileDocCategorySizeDatePackage
HandshakeReservedBytesItem.javaAPI DocAzureus 3.0.3.42012Sun Sep 23 04:54:56 BST 2007org.gudy.azureus2.ui.swt.views.tableitems.peers

HandshakeReservedBytesItem

public class HandshakeReservedBytesItem extends org.gudy.azureus2.ui.swt.views.table.utils.CoreTableColumn implements org.gudy.azureus2.plugins.ui.tables.TableCellRefreshListener
author
Allan Crooks

Fields Summary
Constructors Summary
public HandshakeReservedBytesItem(String table_id)

		super("handshake_reserved", POSITION_INVISIBLE, 80, table_id);
		setRefreshInterval(INTERVAL_LIVE);
	
Methods Summary
public voidrefresh(org.gudy.azureus2.plugins.ui.tables.TableCell cell)

	    PEPeer peer = (PEPeer)cell.getDataSource();
	    byte[] handshake_reserved = null;
	    if (peer != null) {handshake_reserved = peer.getHandshakeReservedBytes();}
	    
	    if (handshake_reserved == null) {
	    	cell.setText(""); return;
	    }
	    cell.setText(ByteFormatter.nicePrint(handshake_reserved, false));