com.liferay.portal.kernel.nio.intraband.test
Class MockRegistrationReference
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockRegistrationReference
public MockRegistrationReference(com.liferay.portal.kernel.nio.intraband.Intraband intraband)
MockRegistrationReference
public MockRegistrationReference(ScatteringByteChannel scatteringByteChannel,
GatheringByteChannel gatheringByteChannel)
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