Sets the next protocols.
761484
public void nextProtocols(String ...protocols)
  {
    if (protocols == null || protocols.length == 0) {
      _nextProtocols = null;
      return;
    }
    
    StringBuilder sb = new StringBuilder();
    for (String protocol : protocols) {
      if (protocol == null || "".equals(protocol)) {
        continue;
      }
      
      sb.append((char) protocol.length());
      sb.append(protocol);
    }
    
    _nextProtocols = sb.toString();
  }
861223
protected function reset()
    {
        $this->protocolVersion = null;
        $this->headers = null;
        $this->requestTarget = null;
        $this->method = null;
        $this->uri = null;
    }
572246
public function next()
    {
        if ($this->current === null) {
            $this->rewind();
        }

        if ($this->validationResult !== static::END_ITERATION) {
            $this->key++;

            $this->incrementCurrentDateUntilValid();
        }
    }
715875
def set_bind(self):
        
        IntegerEntry.set_bind(self)
        self.bind('<Next>', lambda e: self.set(self.imin))
        self.bind('<Prior>', lambda e: self.set(self.imax))
44401
public function setNextPageIndexKey($value = null)
    {
        if ($value !== null && ! $value instanceof \Protobuf\Stream) {
            $value = \Protobuf\Stream::wrap($value);
        }

        $this->NextPageIndexKey = $value;
    }
21324
function setProtocol($protocol)
    {
        if (!($protocol instanceof Swoole\IFace\Protocol))
        {
            throw new \Exception("The protocol is not instanceof \\Swoole\\IFace\\Protocol");
        }
        $this->protocol = $protocol;
        $protocol->server = $this;
    }
91897
public function reset()
    {
        $this->values[self::PROTOCOL_VERSION] = null;
        $this->values[self::SOURCE_ID] = null;
        $this->values[self::DESTINATION_ID] = null;
        $this->values[self::NNAMESPACE] = null;
        $this->values[self::PAYLOAD_TYPE] = null;
        $this->values[self::PAYLOAD_UTF8] = null;
        $this->values[self::PAYLOAD_BINARY] = null;
    }
586862
private void setReadyForRead() throws ProtocolException {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "setReadyForRead entry: stream id:" + myID);
        }
        muxLink.updateHighestStreamId(myID);
        if (headersCompleted) {
            ExecutorService executorService = CHFWBundle.getExecutorService();
            Http2Ready readyThread = new Http2Ready(h2HttpInboundLinkWrap);
            executorService.execute(readyThread);
        }
    }
949052
def _call_next(self, handler_chain):
        

        def wrapped(*args, **kwargs):
            if len(handler_chain) == 1:
                return handler_chain[0](*args, **kwargs)
            else:
                return handler_chain[0](self._call_next(handler_chain[1:]),
                                        *args, **kwargs)

        return wrapped
440032
public void nextState(IncEvalState prev, IncEvalState next, Object continuation,
      Environment env, Object denotation, Object diagram, Object otherArgs, LogFunction log) {
    next.set(continuation, env, denotation, diagram, prev.getProb(), null);
  }
979290
function nextPhase(priv) {
  setPhase(priv, PHASE_VALUES[(PHASE_VALUES.indexOf(priv.phase) + 1) % PHASE_VALUES.length]);
}
127434
def set_ipv4_next_hop
      arr = config_get('route_map', 'set_ipv4_next_hop', @get_args)
      val = default_set_ipv4_next_hop
      arr.each do |str|
        next if str.empty?
        next if str.include?('peer-address')
        next if str.include?('unchanged')
        next if str.include?('redist-unchanged')
        val = str.split
        val.delete('load-share')
      end
      val
    end
897514
public void setProtocol(String protocol)
    throws ConfigException
  {
    _protocol = protocol;

    String []values = Pattern.compile("\\s+").split(protocol);

    int protocolFlags = _defaultProtocolFlags;
    for (int i = 0; i < values.length; i++) {
      if (values[i].equalsIgnoreCase("+all")) {
        protocolFlags = ~0;
      }
      else if (values[i].equalsIgnoreCase("-all")) {
        protocolFlags = 0;
      }
      else if (values[i].equalsIgnoreCase("+sslv2")) {
        protocolFlags |= PROTOCOL_SSL2;
      }
      else if (values[i].equalsIgnoreCase("-sslv2")) {
        protocolFlags &= ~PROTOCOL_SSL2;
      }
      else if (values[i].equalsIgnoreCase("+sslv3")) {
        protocolFlags |= PROTOCOL_SSL3;
      }
      else if (values[i].equalsIgnoreCase("-sslv3")) {
        protocolFlags &= ~PROTOCOL_SSL3;
      }
      else if (values[i].equalsIgnoreCase("+tlsv1")) {
        protocolFlags |= PROTOCOL_TLS1;
      }
      else if (values[i].equalsIgnoreCase("-tlsv1")) {
        protocolFlags &= ~PROTOCOL_TLS1;
      }
      else if (values[i].equalsIgnoreCase("+tlsv1.1")) {
        protocolFlags |= PROTOCOL_TLS1_1;
      }
      else if (values[i].equalsIgnoreCase("-tlsv1.1")) {
        protocolFlags &= ~PROTOCOL_TLS1_1;
      }
      else if (values[i].equalsIgnoreCase("+tlsv1.2")) {
        protocolFlags |= PROTOCOL_TLS1_2;
      }
      else if (values[i].equalsIgnoreCase("-tlsv1.2")) {
        protocolFlags &= ~PROTOCOL_TLS1_2;
      }
      else
        throw new ConfigException(L.l("unknown protocol value '{0}'",
                                      protocol));
    }

    if (values.length > 0)
      _protocolFlags = protocolFlags;
  }
369536
public BaseListener setNextListener(BaseListener listener)
    {
        BaseListener listenerTemp = m_nextListener;
        m_nextListener = listener;
        return listenerTemp;
    }
821391
@Override
    public void nextState(PHATInterface phatInterface) {
        switch (state) {
            case NOT_INIT:
                initState(phatInterface);
                setState(STATE.STARTED);
                break;
            case STARTED:
                if(isFinished(phatInterface)) {
                    setState(FINISHED);
                } else {
                    simpleNextState(phatInterface);
                }
                break;
            case FINISHED:
                break;
            case INTERRUPTED:
                if (finishCondition != null) {
                    finishCondition.automatonInterrupted(this);
                }
                interrupt(phatInterface);
                break;
            case RESUMED:
                if (finishCondition != null) {
                    finishCondition.automatonResumed(this);
                }
                resume(phatInterface);
                setState(STATE.STARTED);
                break;
        }    
    }
638242
public static void next(HttpServerExchange httpServerExchange) throws Exception {
		HttpHandler httpHandler = getNext(httpServerExchange);
		if (httpHandler != null) {
			httpHandler.handleRequest(httpServerExchange);
		} else if(lastHandler != null) {
			lastHandler.handleRequest(httpServerExchange);
		}
	}
998542
public function defaultNextEvent () {
		if ($this->isError()) {
			$this->setUrl($this->getErrorNextUrl());
			$this->nextRule		= $this->getErrorNextRule();
		} else {
			$this->setUrl($this->getDefaultNextUrl());
			$this->nextRule		= $this->getDefaultNextRule();
		}
	}