-
公开(公告)号:US10594570B1
公开(公告)日:2020-03-17
申请号:US15391530
申请日:2016-12-27
Applicant: Amazon Technologies, Inc.
Inventor: Christoph Saalfeld , Tristam Kyle MacDonald , Gary Wicker , Justin Robert Knoepfler , Kyle Michael Roche , Frank Lovecchio , Bryant Cutler , Qing Ju , Shyam Krishnamoorthy , Alexandra Elizabeth Baoboe Lee
Abstract: A socket service may be used to implement client-defined function mappings (e.g., custom protocols) for sockets hosted by the socket service so that when a particular socket is opened for a particular client device, the socket operates according to a particular client-defined function mapping requested by the particular client device. To establish a particular client-defined function mapping, a socket manager may receive request from a user that specifies a particular endpoint (e.g., a client-registered function). When a client device requests a socket to be opened, the client device requests the particular client-defined function mapping to be associated with the socket. When the socket is opened, the endpoint is invoked. The particular client-defined function mapping may also specify one or more receive criteria for data received at the socket. If the one or more receive criteria is met, the endpoint is invoked by sending the data to the endpoint.
-
公开(公告)号:US10944834B1
公开(公告)日:2021-03-09
申请号:US15391547
申请日:2016-12-27
Applicant: Amazon Technologies, Inc.
Inventor: Christoph Saalfeld , Tristam Kyle MacDonald , Gary Wicker , Justin Robert Knoepfler , Kyle Michael Roche , Frank Lovecchio , Bryant Cutler , Qing Ju , Shyam Krishnamoorthy , Alexandra Elizabeth Baoboe Lee
Abstract: A socket service may be used to link a peer socket to another peer socket. The peer socket is for communicating data to and from a client device and the other peer socket is for communicating data to and from another client device. If a socket opens and the corresponding peer socket is not yet open then the socket waits for the corresponding peer socket to open. When a client device requests a socket to be opened, the client device requests a particular client-defined function mapping to be associated with the socket. When the socket is opened, the endpoint specified in the client-defined function mapping is invoked. An identifier associated with the client device is sent to the endpoint. If the endpoint returns a socket identifier for another socket, then the socket service links the peer socket to the other peer socket, linking the client device to another client device.
-