public class MockRegistrationReference
extends Object
implements com.liferay.portal.kernel.nio.intraband.RegistrationReference
Constructor and Description |
---|
MockRegistrationReference(com.liferay.portal.kernel.nio.intraband.Intraband intraband) |
MockRegistrationReference(ScatteringByteChannel scatteringByteChannel,
GatheringByteChannel gatheringByteChannel) |
Modifier and Type | Method and Description |
---|---|
void |
cancelRegistration() |
GatheringByteChannel |
getGatheringByteChannel() |
com.liferay.portal.kernel.nio.intraband.Intraband |
getIntraband() |
ScatteringByteChannel |
getScatteringByteChannel() |
boolean |
isValid() |
public MockRegistrationReference(com.liferay.portal.kernel.nio.intraband.Intraband intraband)
public MockRegistrationReference(ScatteringByteChannel scatteringByteChannel, GatheringByteChannel gatheringByteChannel)
public void cancelRegistration()
cancelRegistration
in interface com.liferay.portal.kernel.nio.intraband.RegistrationReference
public GatheringByteChannel getGatheringByteChannel()
public com.liferay.portal.kernel.nio.intraband.Intraband getIntraband()
getIntraband
in interface com.liferay.portal.kernel.nio.intraband.RegistrationReference
public ScatteringByteChannel getScatteringByteChannel()
public boolean isValid()
isValid
in interface com.liferay.portal.kernel.nio.intraband.RegistrationReference