| /* |
| * |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| * |
| */ |
| package org.apache.qpid.server.protocol.v1_0; |
| |
| import org.apache.qpid.server.protocol.v1_0.type.transport.Attach; |
| import org.apache.qpid.server.protocol.v1_0.type.transport.Begin; |
| import org.apache.qpid.server.protocol.v1_0.type.transport.Close; |
| import org.apache.qpid.server.protocol.v1_0.type.transport.Detach; |
| import org.apache.qpid.server.protocol.v1_0.type.transport.Disposition; |
| import org.apache.qpid.server.protocol.v1_0.type.transport.End; |
| import org.apache.qpid.server.protocol.v1_0.type.transport.Error; |
| import org.apache.qpid.server.protocol.v1_0.type.transport.Flow; |
| import org.apache.qpid.server.protocol.v1_0.type.transport.Open; |
| import org.apache.qpid.server.protocol.v1_0.type.transport.Transfer; |
| |
| public interface ConnectionHandler extends SASLEndpoint |
| { |
| void receiveOpen(short channel, Open close); |
| |
| void receiveClose(short channel, Close close); |
| |
| void receiveBegin(short channel, Begin begin); |
| |
| void receiveEnd(short channel, End end); |
| |
| void receiveAttach(short channel, Attach attach); |
| |
| void receiveDetach(short channel, Detach detach); |
| |
| void receiveTransfer(short channel, Transfer transfer); |
| |
| void receiveDisposition(short channel, Disposition disposition); |
| |
| void receiveFlow(short channel, Flow flow); |
| |
| int getMaxFrameSize(); |
| |
| void handleError(Error parsingError); |
| |
| boolean closedForInput(); |
| |
| void receive(short channel, Object val); |
| } |