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