Liferay 7.0-ce-b4

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:
RegistrationReference

public class MockRegistrationReference
extends Object
implements RegistrationReference


Constructor Summary
MockRegistrationReference(Intraband intraband)
           
MockRegistrationReference(ScatteringByteChannel scatteringByteChannel, GatheringByteChannel gatheringByteChannel)
           
 
Method Summary
 void cancelRegistration()
           
 GatheringByteChannel getGatheringByteChannel()
           
 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(Intraband intraband)

MockRegistrationReference

public MockRegistrationReference(ScatteringByteChannel scatteringByteChannel,
                                 GatheringByteChannel gatheringByteChannel)
Method Detail

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

Liferay 7.0-ce-b4