public class MockIntraband
extends com.liferay.portal.kernel.nio.intraband.BaseIntraband
Constructor and Description |
---|
MockIntraband() |
MockIntraband(long defaultTimeout) |
Modifier and Type | Method and Description |
---|---|
protected void |
doSendDatagram(com.liferay.portal.kernel.nio.intraband.RegistrationReference registrationReference,
com.liferay.portal.kernel.nio.intraband.Datagram datagram) |
com.liferay.portal.kernel.nio.intraband.Datagram |
getDatagram() |
com.liferay.portal.kernel.nio.intraband.RegistrationReference |
getRegistrationReference() |
protected com.liferay.portal.kernel.nio.intraband.Datagram |
processDatagram(com.liferay.portal.kernel.nio.intraband.Datagram datagram) |
com.liferay.portal.kernel.nio.intraband.RegistrationReference |
registerChannel(Channel duplexChannel) |
com.liferay.portal.kernel.nio.intraband.RegistrationReference |
registerChannel(ScatteringByteChannel scatteringByteChannel,
GatheringByteChannel gatheringByteChannel) |
void |
setIOException(IOException ioException) |
addResponseWaitingDatagram, cleanUpTimeoutResponseWaitingDatagrams, close, doSendSyncDatagram, ensureOpen, generateSequenceId, getDatagramReceiveHandlers, handleReading, handleWriting, isOpen, registerDatagramReceiveHandler, removeResponseWaitingDatagram, sendDatagram, sendDatagram, sendDatagram, sendSyncDatagram, sendSyncDatagram, unregisterDatagramReceiveHandler
public MockIntraband()
public MockIntraband(long defaultTimeout)
public com.liferay.portal.kernel.nio.intraband.Datagram getDatagram()
public com.liferay.portal.kernel.nio.intraband.RegistrationReference getRegistrationReference()
public com.liferay.portal.kernel.nio.intraband.RegistrationReference registerChannel(Channel duplexChannel)
public com.liferay.portal.kernel.nio.intraband.RegistrationReference registerChannel(ScatteringByteChannel scatteringByteChannel, GatheringByteChannel gatheringByteChannel)
public void setIOException(IOException ioException)
protected void doSendDatagram(com.liferay.portal.kernel.nio.intraband.RegistrationReference registrationReference, com.liferay.portal.kernel.nio.intraband.Datagram datagram)
doSendDatagram
in class com.liferay.portal.kernel.nio.intraband.BaseIntraband
protected com.liferay.portal.kernel.nio.intraband.Datagram processDatagram(com.liferay.portal.kernel.nio.intraband.Datagram datagram)