()
| 695 | } |
| 696 | |
| 697 | public <T extends Protocol> T getBottomProtocol() { |
| 698 | T curr_prot=(T)this; |
| 699 | while(curr_prot != null && curr_prot.getDownProtocol() !=null) |
| 700 | curr_prot=curr_prot.getDownProtocol(); |
| 701 | return curr_prot; |
| 702 | } |
| 703 | |
| 704 | public Protocol getTopProtocol() { |
| 705 | return top_prot; |
no test coverage detected