Liferay 7.0-ce-b8 portal-test

com.liferay.portal.kernel.nio.intraband.test
Class MockIntraband

java.lang.Object
  extended by com.liferay.portal.kernel.nio.intraband.BaseIntraband
      extended by com.liferay.portal.kernel.nio.intraband.test.MockIntraband
All Implemented Interfaces:
com.liferay.portal.kernel.nio.intraband.Intraband

public class MockIntraband
extends com.liferay.portal.kernel.nio.intraband.BaseIntraband


Nested Class Summary
 
Nested classes/interfaces inherited from class com.liferay.portal.kernel.nio.intraband.BaseIntraband
com.liferay.portal.kernel.nio.intraband.BaseIntraband.SendSyncDatagramCompletionHandler
 
Field Summary
 
Fields inherited from class com.liferay.portal.kernel.nio.intraband.BaseIntraband
datagramReceiveHandlersReference, defaultTimeout, open, REPLIED_ENUM_SET, responseWaitingMap, sequenceIdGenerator, timeoutMap
 
Constructor Summary
MockIntraband()
           
MockIntraband(long defaultTimeout)
           
 
Method Summary
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)
           
 
Methods inherited from class com.liferay.portal.kernel.nio.intraband.BaseIntraband
addResponseWaitingDatagram, cleanUpTimeoutResponseWaitingDatagrams, close, doSendSyncDatagram, ensureOpen, generateSequenceId, getDatagramReceiveHandlers, handleReading, handleWriting, isOpen, registerDatagramReceiveHandler, removeResponseWaitingDatagram, sendDatagram, sendDatagram, sendDatagram, sendSyncDatagram, sendSyncDatagram, unregisterDatagramReceiveHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockIntraband

public MockIntraband()

MockIntraband

public MockIntraband(long defaultTimeout)
Method Detail

getDatagram

public com.liferay.portal.kernel.nio.intraband.Datagram getDatagram()

getRegistrationReference

public com.liferay.portal.kernel.nio.intraband.RegistrationReference getRegistrationReference()

registerChannel

public com.liferay.portal.kernel.nio.intraband.RegistrationReference registerChannel(Channel duplexChannel)

registerChannel

public com.liferay.portal.kernel.nio.intraband.RegistrationReference registerChannel(ScatteringByteChannel scatteringByteChannel,
                                                                                     GatheringByteChannel gatheringByteChannel)

setIOException

public void setIOException(IOException ioException)

doSendDatagram

protected void doSendDatagram(com.liferay.portal.kernel.nio.intraband.RegistrationReference registrationReference,
                              com.liferay.portal.kernel.nio.intraband.Datagram datagram)
Specified by:
doSendDatagram in class com.liferay.portal.kernel.nio.intraband.BaseIntraband

processDatagram

protected com.liferay.portal.kernel.nio.intraband.Datagram processDatagram(com.liferay.portal.kernel.nio.intraband.Datagram datagram)

Liferay 7.0-ce-b8 portal-test