diff options
Diffstat (limited to 'mojo/public/java/system/src/org/chromium/mojo/system/UntypedHandle.java')
-rw-r--r-- | mojo/public/java/system/src/org/chromium/mojo/system/UntypedHandle.java | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/mojo/public/java/system/src/org/chromium/mojo/system/UntypedHandle.java b/mojo/public/java/system/src/org/chromium/mojo/system/UntypedHandle.java deleted file mode 100644 index 199b0a1..0000000 --- a/mojo/public/java/system/src/org/chromium/mojo/system/UntypedHandle.java +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package org.chromium.mojo.system; - -import org.chromium.mojo.system.DataPipe.ConsumerHandle; -import org.chromium.mojo.system.DataPipe.ProducerHandle; - -/** - * A mojo handle of unknown type. This handle can be typed by using one of its methods, which will - * return a handle of the requested type and invalidate this object. No validation is made when the - * conversion operation is called. - */ -public interface UntypedHandle extends Handle { - - /** - * @see org.chromium.mojo.system.Handle#pass() - */ - @Override - public UntypedHandle pass(); - - /** - * Returns the underlying handle, as a {@link MessagePipeHandle}, invalidating this - * representation. - */ - public MessagePipeHandle toMessagePipeHandle(); - - /** - * Returns the underlying handle, as a {@link ConsumerHandle}, invalidating this representation. - */ - public ConsumerHandle toDataPipeConsumerHandle(); - - /** - * Returns the underlying handle, as a {@link ProducerHandle}, invalidating this representation. - */ - public ProducerHandle toDataPipeProducerHandle(); - - /** - * Returns the underlying handle, as a {@link SharedBufferHandle}, invalidating this - * representation. - */ - public SharedBufferHandle toSharedBufferHandle(); - -} |