code: public AmqpChannel closeChannel(int replyCode, String replyText, int classId, int methodId1) {
          if (readyState == ReadyState.CLOSED) {
              return this;
          }
          
          Object[] args = {replyCode, replyText, classId, methodId1};
          WrappedByteBuffer bodyArg = null;
          HashMap<String, Object> headersArg = null;
  
          String methodName = "closeChannel";
          String methodId = "20" + "40";
          AmqpMethod amqpMethod = MethodLookup.LookupMethod(methodId);
          Object[] arguments = {this, amqpMethod, this.id, args, bodyArg, headersArg};
          asyncClient.enqueueAction(methodName, "channelWrite", arguments, null, null);
          return this;
      }
docs: This method indicates that the sender wants to close the channel.
  
  @param replyCode
  @param replyText
  @param classId
  @param methodId1
  @return AmqpChannel