Liferay 7.0-ce-b7 portal-test

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

java.lang.Object
  extended by com.liferay.portal.kernel.nio.intraband.test.MockRegistrationReference
All Implemented Interfaces:
com.liferay.portal.kernel.nio.intraband.RegistrationReference

public class MockRegistrationReference
extends Object
implements com.liferay.portal.kernel.nio.intraband.RegistrationReference


Constructor Summary
MockRegistrationReference(com.liferay.portal.kernel.nio.intraband.Intraband intraband)
           
MockRegistrationReference(ScatteringByteChannel scatteringByteChannel, GatheringByteChannel gatheringByteChannel)
           
 
Method Summary
 void cancelRegistration()
           
 GatheringByteChannel getGatheringByteChannel()
           
 com.liferay.portal.kernel.nio.intraband.Intraband getIntraband()
           
 ScatteringByteChannel getScatteringByteChannel()
           
 boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockRegistrationReference

public MockRegistrationReference(com.liferay.portal.kernel.nio.intraband.Intraband intraband)

MockRegistrationReference

public MockRegistrationReference(ScatteringByteChannel scatteringByteChannel,
                                 GatheringByteChannel gatheringByteChannel)
Method Detail

cancelRegistration

public void cancelRegistration()
Specified by:
cancelRegistration in interface com.liferay.portal.kernel.nio.intraband.RegistrationReference

getGatheringByteChannel

public GatheringByteChannel getGatheringByteChannel()

getIntraband

public com.liferay.portal.kernel.nio.intraband.Intraband getIntraband()
Specified by:
getIntraband in interface com.liferay.portal.kernel.nio.intraband.RegistrationReference

getScatteringByteChannel

public ScatteringByteChannel getScatteringByteChannel()

isValid

public boolean isValid()
Specified by:
isValid in interface com.liferay.portal.kernel.nio.intraband.RegistrationReference

Liferay 7.0-ce-b7 portal-test