diff options
Diffstat (limited to 'plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/security/INegotiationContext.java')
-rw-r--r-- | plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/security/INegotiationContext.java | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/security/INegotiationContext.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/security/INegotiationContext.java index 69188fa911..0d651c1675 100644 --- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/security/INegotiationContext.java +++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/security/INegotiationContext.java @@ -1,57 +1,57 @@ -/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.net4j.util.security;
-
-import java.nio.ByteBuffer;
-
-/**
- * @author Eike Stepper
- */
-public interface INegotiationContext
-{
- /**
- * @since 2.0
- */
- public static final int NO_TIMEOUT = -1;
-
- public ByteBuffer getBuffer();
-
- public void transmitBuffer(ByteBuffer buffer);
-
- public Receiver getReceiver();
-
- public void setReceiver(Receiver receiver);
-
- public Enum<?> getState();
-
- public void setState(Enum<?> state);
-
- public void setUserID(String userID);
-
- public Object getInfo();
-
- public void setInfo(Object info);
-
- public void setFinished(boolean success);
-
- /**
- * @since 2.0
- */
- public Enum<?> waitUntilFinished(long timeout);
-
- /**
- * @author Eike Stepper
- */
- public interface Receiver
- {
- public void receiveBuffer(INegotiationContext context, ByteBuffer buffer);
- }
-}
+/* + * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Eike Stepper - initial API and implementation + */ +package org.eclipse.net4j.util.security; + +import java.nio.ByteBuffer; + +/** + * @author Eike Stepper + */ +public interface INegotiationContext +{ + /** + * @since 2.0 + */ + public static final int NO_TIMEOUT = -1; + + public ByteBuffer getBuffer(); + + public void transmitBuffer(ByteBuffer buffer); + + public Receiver getReceiver(); + + public void setReceiver(Receiver receiver); + + public Enum<?> getState(); + + public void setState(Enum<?> state); + + public void setUserID(String userID); + + public Object getInfo(); + + public void setInfo(Object info); + + public void setFinished(boolean success); + + /** + * @since 2.0 + */ + public Enum<?> waitUntilFinished(long timeout); + + /** + * @author Eike Stepper + */ + public interface Receiver + { + public void receiveBuffer(INegotiationContext context, ByteBuffer buffer); + } +} |