public class RpcEndPoint extends Object implements org.eclipse.jetty.io.EndPoint
| Constructor and Description |
|---|
RpcEndPoint(com.google.apphosting.base.protos.RuntimePb.UPRequest upRequest,
MutableUpResponse upResponse) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
fill(ByteBuffer buffer) |
void |
fillInterested(org.eclipse.jetty.util.Callback callback) |
boolean |
flush(ByteBuffer... buffer) |
org.eclipse.jetty.io.Connection |
getConnection() |
long |
getCreatedTimeStamp() |
long |
getIdleTimeout() |
InetSocketAddress |
getLocalAddress() |
InetSocketAddress |
getRemoteAddress() |
Object |
getTransport() |
com.google.apphosting.base.protos.RuntimePb.UPRequest |
getUpRequest() |
MutableUpResponse |
getUpResponse() |
boolean |
isFillInterested() |
boolean |
isInputShutdown() |
boolean |
isOpen() |
boolean |
isOptimizedForDirectBuffers() |
boolean |
isOutputShutdown() |
void |
onClose() |
void |
onOpen() |
void |
setConnection(org.eclipse.jetty.io.Connection connection) |
void |
setIdleTimeout(long idleTimeout) |
void |
shutdownOutput() |
boolean |
tryFillInterested(org.eclipse.jetty.util.Callback callback) |
void |
upgrade(org.eclipse.jetty.io.Connection a) |
void |
write(org.eclipse.jetty.util.Callback callback,
ByteBuffer... buffers) |
public RpcEndPoint(com.google.apphosting.base.protos.RuntimePb.UPRequest upRequest,
MutableUpResponse upResponse)
public com.google.apphosting.base.protos.RuntimePb.UPRequest getUpRequest()
public MutableUpResponse getUpResponse()
public InetSocketAddress getLocalAddress()
getLocalAddress in interface org.eclipse.jetty.io.EndPointpublic InetSocketAddress getRemoteAddress()
getRemoteAddress in interface org.eclipse.jetty.io.EndPointpublic boolean isOpen()
isOpen in interface org.eclipse.jetty.io.EndPointpublic long getCreatedTimeStamp()
getCreatedTimeStamp in interface org.eclipse.jetty.io.EndPointpublic void shutdownOutput()
shutdownOutput in interface org.eclipse.jetty.io.EndPointpublic boolean isOutputShutdown()
isOutputShutdown in interface org.eclipse.jetty.io.EndPointpublic boolean isInputShutdown()
isInputShutdown in interface org.eclipse.jetty.io.EndPointpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface org.eclipse.jetty.io.EndPointpublic int fill(ByteBuffer buffer) throws IOException
fill in interface org.eclipse.jetty.io.EndPointIOExceptionpublic boolean flush(ByteBuffer... buffer) throws IOException
flush in interface org.eclipse.jetty.io.EndPointIOExceptionpublic Object getTransport()
getTransport in interface org.eclipse.jetty.io.EndPointpublic long getIdleTimeout()
getIdleTimeout in interface org.eclipse.jetty.io.EndPointpublic void setIdleTimeout(long idleTimeout)
setIdleTimeout in interface org.eclipse.jetty.io.EndPointpublic void fillInterested(org.eclipse.jetty.util.Callback callback)
fillInterested in interface org.eclipse.jetty.io.EndPointpublic boolean tryFillInterested(org.eclipse.jetty.util.Callback callback)
tryFillInterested in interface org.eclipse.jetty.io.EndPointpublic void write(org.eclipse.jetty.util.Callback callback,
ByteBuffer... buffers)
write in interface org.eclipse.jetty.io.EndPointpublic org.eclipse.jetty.io.Connection getConnection()
getConnection in interface org.eclipse.jetty.io.EndPointpublic void setConnection(org.eclipse.jetty.io.Connection connection)
setConnection in interface org.eclipse.jetty.io.EndPointpublic void onOpen()
onOpen in interface org.eclipse.jetty.io.EndPointpublic void onClose()
onClose in interface org.eclipse.jetty.io.EndPointpublic void upgrade(org.eclipse.jetty.io.Connection a)
upgrade in interface org.eclipse.jetty.io.EndPointpublic boolean isFillInterested()
isFillInterested in interface org.eclipse.jetty.io.EndPointpublic boolean isOptimizedForDirectBuffers()
isOptimizedForDirectBuffers in interface org.eclipse.jetty.io.EndPointCopyright © 2022. All rights reserved.