public class NetSupportSocket extends SpdyContext.NetSupport
ctx
Constructor and Description |
---|
NetSupportSocket() |
Modifier and Type | Method and Description |
---|---|
SpdyConnection |
getConnection(String host,
int port) |
protected Socket |
getSocket(String host,
int port) |
boolean |
isSpdy(Object socketW) |
void |
listen(int port,
String cert,
String key) |
void |
onAccept(Object socket) |
void |
stop() |
setSpdyContext
public boolean isSpdy(Object socketW)
isSpdy
in class SpdyContext.NetSupport
public SpdyConnection getConnection(String host, int port) throws IOException
getConnection
in class SpdyContext.NetSupport
IOException
protected Socket getSocket(String host, int port) throws IOException
IOException
public void stop() throws IOException
stop
in class SpdyContext.NetSupport
IOException
public void onAccept(Object socket)
onAccept
in class SpdyContext.NetSupport
public void listen(int port, String cert, String key) throws IOException
listen
in class SpdyContext.NetSupport
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.