Searched refs:transport (Results 1 - 25 of 54) sorted by relevance

123

/external/nist-sip/java/gov/nist/javax/sip/stack/
H A DHopImpl.java56 protected String transport; field in class:HopImpl
65 return host + ":" + port + "/" + transport;
69 * Create new hop given host, port and transport.
72 * @param trans transport
84 transport = trans;
108 this.transport = hop.substring(slash+1);
111 this.transport = "UDP";
121 this.transport = hop.substring(slash+1);
122 this.port = transport.equalsIgnoreCase("TLS") ? 5061 : 5060;
125 this.transport
[all...]
H A DMessageProcessor.java45 * the given transport.
86 * The transport where I am listening
88 protected String transport; field in class:MessageProcessor
102 protected MessageProcessor( String transport ) {
103 this.transport = transport;
111 * @param transport -- transport to use for the message processor (UDP/TCP/TLS).
113 protected MessageProcessor( InetAddress ipAddress, int port, String transport, argument
115 this( transport );
349 getDefaultPort(String transport) argument
[all...]
H A DDefaultRouter.java119 // The outbound proxy is optional. If specified it should be host:port/transport.
123 "Invalid default route specification - need host:port/transport");
291 String transport = sipUri.isSecure() ? SIPConstants.TLS : sipUri
293 if (transport == null) {
296 transport = via.getTransport();
299 // sipUri.removeParameter("transport");
305 if (transport.equalsIgnoreCase(SIPConstants.TLS))
314 .resolveAddress(new HopImpl(host, port, transport));
H A DIOHandler.java154 * @param transport -- tcp or udp.
160 int contactPort, String transport, byte[] bytes, boolean retry,
164 // Server uses TCP transport. TCP client sockets are cached
168 "sendBytes " + transport + " inAddr " + receiverAddress.getHostAddress()
174 if (transport.compareToIgnoreCase(TCP) == 0) {
250 } else if (transport.compareToIgnoreCase(TLS) == 0) {
314 // This is a UDP transport...
159 sendBytes(InetAddress senderAddress, InetAddress receiverAddress, int contactPort, String transport, byte[] bytes, boolean retry, MessageChannel messageChannel) argument
H A DMessageChannel.java100 * Get transport string of this message channel.
270 * generate a key given the inet address port and transport.
272 public static String getKey(InetAddress inetAddr, int port, String transport) { argument
273 return (transport + ":" + inetAddr.getHostAddress() + ":" + port).toLowerCase();
279 public static String getKey(HostPort hostPort, String transport) { argument
280 return (transport + ":" + hostPort.getHost().getHostname() + ":" + hostPort.getPort())
307 * Get the Via header for this transport. Note that this does not set a branch identifier.
/external/nist-sip/java/javax/sip/
H A DIOExceptionEvent.java11 String transport) {
15 mTransport = transport;
10 IOExceptionEvent(Object source, String host, int port, String transport) argument
H A DSipStack.java12 ListeningPoint createListeningPoint(int port, String transport) argument
15 String transport) throws TransportNotSupportedException,
14 createListeningPoint(String ipAddress, int port, String transport) argument
H A DSipProvider.java26 ListeningPoint getListeningPoint(String transport); argument
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DProtocol.java58 /** transport field
60 protected String transport; field in class:Protocol
75 .append(transport.toUpperCase());
112 /** get the transport
116 return transport;
136 * Set the transport member
140 transport = t;
149 transport = "UDP";
H A DVia.java152 * Get the host, port and transport as a Hop. This is
360 * Returns the value of the transport parameter.
362 * @return the string value of the transport paramter of the ViaHeader
371 * Sets the value of the transport. This parameter specifies
372 * which transport protocol to use for sending requests and responses to
376 * @param transport - new value for the transport parameter
378 * unexpectedly while parsing the transport value.
380 public void setTransport(String transport) throws ParseException { argument
381 if (transport
[all...]
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
H A DHttpsServiceConnectionSEIgnoringConnectionClose.java2 package org.ksoap2.transport;
H A DKeepAliveHttpsTransportSE.java9 package org.ksoap2.transport;
16 * might be useful in SE environments as well and can be used as an example to create your own transport
42 * Get a service connection. Returns an implementation of {@link org.ksoap2.transport.ServiceConnectionSE} that
45 * @see org.ksoap2.transport.HttpTransportSE#getServiceConnection()
H A DHttpsTransportSE.java2 package org.ksoap2.transport;
9 * HttpsTransportSE is a simple transport for https protocal based connections. It creates a #HttpsServiceConnectionSE
36 * @see org.ksoap2.transport.HttpsTransportSE#getServiceConnection()
H A DHttpsServiceConnectionSE.java2 package org.ksoap2.transport;
44 * Create the transport with the supplied parameters.
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
H A DJDWPUnitDebuggeeWrapper.java46 protected TransportWrapper transport; field in class:JDWPUnitDebuggeeWrapper
66 transport = createTransportWrapper();
72 address = transport.startListening(address);
95 logWriter.println("Established transport connection");
113 transport.stopListening();
115 logWriter.println("IOException in stopping transport listening: " + e);
127 transport.accept(settings.getTimeout(), settings.getTimeout());
131 transport.attach(address, settings.getTimeout(), settings.getTimeout());
133 setConnection(transport);
/external/kernel-headers/original/uapi/scsi/
H A Dscsi_netlink.h3 * Used for the posting of outbound SCSI transport events
44 uint8_t transport; member in struct:scsi_nl_hdr
56 /* scsi_nl_hdr->transport value */
61 /* Transport-based scsi_nl_hdr->msgtype values are defined in each transport */
116 (hdr)->transport = t; \
/external/nist-sip/java/gov/nist/javax/sip/
H A DListeningPointImpl.java60 protected String transport; field in class:ListeningPointImpl
88 * @param transport transport
91 public static String makeKey(String host, int port, String transport) { argument
96 .append(transport)
106 return makeKey(this.getIPAddress(), port, transport);
131 String transport) {
135 this.transport = transport;
141 * started. The transport i
128 ListeningPointImpl( SipStack sipStack, int port, String transport) argument
[all...]
H A DSipStackImpl.java1062 int port, String transport) throws TransportNotSupportedException,
1067 + port + " transport = " + transport);
1072 if (transport == null)
1073 throw new NullPointerException("null transport");
1077 if (!transport.equalsIgnoreCase("UDP")
1078 && !transport.equalsIgnoreCase("TLS")
1079 && !transport.equalsIgnoreCase("TCP")
1080 && !transport.equalsIgnoreCase("SCTP"))
1081 throw new TransportNotSupportedException("bad transport "
1061 createListeningPoint(String address, int port, String transport) argument
1259 createListeningPoint(int port, String transport) argument
[all...]
H A DSipProviderImpl.java103 * transport
151 public ListeningPoint getListeningPoint(String transport) { argument
152 if (transport == null)
153 throw new NullPointerException("Null transport param");
154 return (ListeningPoint) this.listeningPoints.get(transport
354 String transport = hop.getTransport();
356 .getListeningPoint(transport);
389 //set port and transport if user hasn't already done this.
391 topmostVia.setTransport(transport);
751 String transport
[all...]
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
H A DServiceConnection.java22 package org.ksoap2.transport;
28 * Interface to allow the abstraction of the raw transport information
/external/nist-sip/java/javax/sip/header/
H A DViaHeader.java31 void setTransport(String transport) throws ParseException; argument
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DHttpEngine.java122 private Transport transport; field in class:HttpEngine
223 if (transport != null) throw new IllegalStateException();
251 transport = Internal.instance.newTransport(connection, this);
267 transport.writeRequestHeaders(networkRequest);
276 transport.writeRequestHeaders(networkRequest);
277 requestBodyOut = transport.createRequestBody(networkRequest, contentLength);
365 * Called immediately before the transport transmits HTTP request headers.
563 if (transport != null && connection != null) {
564 transport.releaseConnectionOnIdle();
576 if (transport !
[all...]
/external/nist-sip/java/gov/nist/javax/sip/address/
H A DSipUri.java36 *Jeroen van Bemmel ( additions for SCTP transport )
146 * transport param added in comparison
186 // transport, user, ttl or method must match when present in either
479 *Delete the transport string.
685 /** Return true if the transport parameter is defined.
686 * @return true if transport appears as a parameter and false otherwise.
829 /** Returns the value of the "transport" parameter, or null if this is not
830 * set. This is equivalent to getParameter("transport").
832 * @return the transport paramter of the SipURI
984 /** Sets the value of the "transport" paramete
994 setTransportParam(String transport) argument
[all...]
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DViaParser.java75 Token transport = lexer.getNextToken();
81 protocol.setTransport(transport.getTokenValue());
/external/libvncserver/libvncclient/
H A Dtls_gnutls.c88 PushTLS(gnutls_transport_ptr_t transport, const void *data, size_t len) argument
90 rfbClient *client = (rfbClient*)transport;
110 PullTLS(gnutls_transport_ptr_t transport, void *data, size_t len) argument
112 rfbClient *client = (rfbClient*)transport;

Completed in 434 milliseconds

123