Methods Summary |
---|
public com.aelitis.azureus.core.peermanager.messaging.Message | getBaseMessage()
if( core_msg == null ) {
return new MessageAdapter( plug_msg.getOriginalMessage() );
}
return core_msg.getBaseMessage();
|
public org.gudy.azureus2.plugins.messaging.Message | getOriginalMessage()
if( plug_msg == null ) {
return new MessageAdapter( core_msg.getBaseMessage() );
}
return plug_msg.getOriginalMessage();
|
public int | getPriority() return com.aelitis.azureus.core.networkmanager.RawMessage.PRIORITY_NORMAL;
|
public org.gudy.azureus2.core3.util.DirectByteBuffer[] | getRawData()
if( plug_msg == null ) {
return core_msg.getRawData();
}
ByteBuffer[] bbs = plug_msg.getRawPayload();
DirectByteBuffer[] dbbs = new DirectByteBuffer[ bbs.length ]; //TODO cache it???
for( int i=0; i < bbs.length; i++ ) {
dbbs[i] = new DirectByteBuffer( bbs[i] );
}
return dbbs;
|
public java.nio.ByteBuffer[] | getRawPayload()
if( core_msg == null ) {
return plug_msg.getRawPayload();
}
DirectByteBuffer[] dbbs = core_msg.getRawData();
ByteBuffer[] bbs = new ByteBuffer[ dbbs.length ]; //TODO cache it???
for( int i=0; i < dbbs.length; i++ ) {
bbs[i] = dbbs[i].getBuffer( DirectByteBuffer.SS_MSG );
}
return bbs;
|
public boolean | isNoDelay() return true;
|
public com.aelitis.azureus.core.peermanager.messaging.Message[] | messagesToRemove() return null;
|