PHP 클래스 Kraken\_Module\Channel\ChannelModelTest

상속: extends Kraken\Test\TModule
파일 보기 프로젝트 열기: kraken-php/framework

공개 메소드들

메소드 설명
createModel ( mixed $data, Kraken\Loop\LoopInterface $loop ) : Kraken\Channel\ChannelModelInterface
getSocketData ( ) : mixed[][]
getZmqData ( ) : mixed[][]
modelProvider ( ) : string[][]
setUp ( )
testChannelModel_AllowsReconnections_InThreesome ( $data )
testChannelModel_ConnectsEvenInWrongOrder ( $data )
testChannelModel_DoesNotAllowStartingMultipleTimesInRow ( $data )
testChannelModel_DoesNotAllowStoppingMultipleTimesInRow ( $data )
testChannelModel_EmitsConnectAndDisconnectEvents_InThreesome ( $data )
testChannelModel_EmitsRecvAndSendEvents_InPair ( $data )
testChannelModel_IsAwareOfConnectedModels_InThreesome ( $data )
testChannelModel_IsAwareOfItsOwnConnection ( $data )
testChannelModel_SendsAndReceivesDataCorrectlyThroughBroadcast_InThreesomeWithoutBuffer ( $data )
testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithBuffer ( $data )
testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithOfflineBuffer ( $data )
testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithOnlineBuffer ( $data )
testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithoutBuffer ( $data )

메소드 상세

createModel() 공개 메소드

public createModel ( mixed $data, Kraken\Loop\LoopInterface $loop ) : Kraken\Channel\ChannelModelInterface
$data mixed
$loop Kraken\Loop\LoopInterface
리턴 Kraken\Channel\ChannelModelInterface

getSocketData() 공개 메소드

public getSocketData ( ) : mixed[][]
리턴 mixed[][]

getZmqData() 공개 메소드

public getZmqData ( ) : mixed[][]
리턴 mixed[][]

modelProvider() 공개 메소드

public modelProvider ( ) : string[][]
리턴 string[][]

setUp() 공개 메소드

public setUp ( )

testChannelModel_AllowsReconnections_InThreesome() 공개 메소드

testChannelModel_ConnectsEvenInWrongOrder() 공개 메소드

testChannelModel_DoesNotAllowStartingMultipleTimesInRow() 공개 메소드

testChannelModel_DoesNotAllowStoppingMultipleTimesInRow() 공개 메소드

testChannelModel_EmitsConnectAndDisconnectEvents_InThreesome() 공개 메소드

testChannelModel_EmitsRecvAndSendEvents_InPair() 공개 메소드

testChannelModel_IsAwareOfConnectedModels_InThreesome() 공개 메소드

testChannelModel_IsAwareOfItsOwnConnection() 공개 메소드

testChannelModel_SendsAndReceivesDataCorrectlyThroughBroadcast_InThreesomeWithoutBuffer() 공개 메소드

testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithBuffer() 공개 메소드

testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithOfflineBuffer() 공개 메소드

testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithOnlineBuffer() 공개 메소드

testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithoutBuffer() 공개 메소드