com.liferay.portal.kernel.nio.intraband.test
Class MockRegistrationReference
java.lang.Object
com.liferay.portal.kernel.nio.intraband.test.MockRegistrationReference
- All Implemented Interfaces:
- RegistrationReference
public class MockRegistrationReference
- extends Object
- implements RegistrationReference
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockRegistrationReference
public MockRegistrationReference(Intraband intraband)
MockRegistrationReference
public MockRegistrationReference(ScatteringByteChannel scatteringByteChannel,
GatheringByteChannel gatheringByteChannel)
cancelRegistration
public void cancelRegistration()
- Specified by:
cancelRegistration in interface RegistrationReference
getGatheringByteChannel
public GatheringByteChannel getGatheringByteChannel()
getIntraband
public Intraband getIntraband()
- Specified by:
getIntraband in interface RegistrationReference
getScatteringByteChannel
public ScatteringByteChannel getScatteringByteChannel()
isValid
public boolean isValid()
- Specified by:
isValid in interface RegistrationReference