Class LocalSocketService

  • java.lang.Object
    • AbstractLocalRpcService
      • com.google.appengine.api.socket.dev.LocalSocketService

  • public class LocalSocketService
    extends AbstractLocalRpcService
    • Field Summary

      Modifier and Type Field and Description
      static java.lang.String PACKAGE
      The package name for this service.
      static java.lang.String PERMIT_BIND
      Property name of bind permission.
      static java.lang.String PERMIT_CONNECT
      Property name of connect permission.
      static java.lang.String PERMIT_GET_SOCKET_OPT
      Property name of get option permission
      static java.lang.String PERMIT_LISTEN
      Property name of listen permission.
      static java.lang.String PERMIT_SET_SOCKET_OPT
      Property name of set option permission
      static java.lang.String SOCKET_OPTIONS_SPEC_OPT
      Used to mimic the getting and setting of options.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      AcceptReply accept(Status status, AcceptRequest request) 
      BindReply bind(Status status, BindRequest request) 
      CloseReply close(Status status, CloseRequest request) 
      ConnectReply connect(Status status, ConnectRequest request) 
      CreateSocketReply createSocket(Status status, CreateSocketRequest request) 
      java.lang.Double getDefaultDeadline(boolean isOfflineRequest) 
      java.lang.Double getMaximumDeadline(boolean isOfflineRequest) 
      java.lang.String getPackage() 
      GetPeerNameReply getPeerName(Status status, GetPeerNameRequest request) 
      GetSocketNameReply getSocketName(Status status, GetSocketNameRequest request) 
      GetSocketOptionsReply getSocketOptions(Status status, GetSocketOptionsRequest request) 
      void init(LocalServiceContext context, java.util.Map<java.lang.String,java.lang.String> properties) 
      ListenReply listen(Status status, ListenRequest request) 
      PollReply poll(Status status, PollRequest request) 
      ReceiveReply receive(Status status, ReceiveRequest request) 
      ResolveReply resolve(Status status, ResolveRequest request) 
      SendReply send(Status status, SendRequest request) 
      SetSocketOptionsReply setSocketOptions(Status status, SetSocketOptionsRequest request) 
      ShutDownReply shutDown(Status status, ShutDownRequest request) 
      void start() 
      void stop() 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PACKAGE

        public static final java.lang.String PACKAGE
        The package name for this service.
        See Also:
        Constant Field Values

        public static final java.lang.String PERMIT_CONNECT
        Property name of connect permission.
        See Also:
        Constant Field Values

        public static final java.lang.String PERMIT_BIND
        Property name of bind permission.
        See Also:
        Constant Field Values
      • PER