/** * Accepts a new connection to the socket. Blocks until a new connection arrives. * * @return a socket representing the new connection. * @throws IOException */ @DSGenerator( tool_name = "Doppelganger", tool_version = "2.0", generated_on = "2013-12-30 12:36:07.245 -0500", hash_original_method = "4C7BE72C58D9A70D111AB53708810EA4", hash_generated_method = "AF157A7772AD2D9C1E3D30BCBFFC6CCE") public LocalSocket accept() throws IOException { LocalSocketImpl acceptedImpl = new LocalSocketImpl(); impl.accept(acceptedImpl); return new LocalSocket(acceptedImpl); }