GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ClientBoostrap#bind() Javadoc misleading · Issue #588 · netty/netty

ClientBoostrap#bind() Javadoc misleading #588

New issue
Copy link
New issue
Copy link
Closed
Closed
ClientBoostrap#bind() Javadoc misleading#588
Copy link
Assignees
normanmaurer
Labels
cleanupdefect
Milestone
3.5.8.Final

Description

@dehmer
dehmer
opened on Sep 9, 2012
Issue body actions

3.5.7.Final (and before):

ClientBootstrap.bind()'s Javadoc gives an example of how to separate bind/connect of a client channel. The example given is

ChannelFuture bindFuture = bootstrap.bind(new InetSocketAddress("192.168.0.15", 0));
Channel channel = bindFuture.getChannel();
channel.setAttachment(dataObj);
bootstrap.connect(new InetSocketAddress("192.168.0.30", 8080));

From my understanding this would create a second pipeline (and channel) in bootstrap.connect() whereas the channel from bootstrap.bind() should be used to connect. Like so (Scala)

val bindFuture = bootstrap.bind(new InetSocketAddress("192.168.0.15", 0))
val channel = bindFuture.getChannel
channel.setAttachment(dataObj)
val connectFuture = channel.connect(new InetSocketAddress("192.168.0.30", 8080))

Activity

  1. normanmaurer
    added a commit that references this issue on Sep 10, 2012

    ClientBoostrap#bind() Javadoc fix. See #588

    051b062
  2. ghost assigned
    normanmaurer
    on Sep 10, 2012
  3. normanmaurer commented on Sep 10, 2012

    @normanmaurer
    normanmaurer
    on Sep 10, 2012
    Member
    More actions

    Fix committed.. Thanks for catching this!

  4. normanmaurer
    closed this as completedon Sep 10, 2012
  5. normanmaurer
    added 2 commits that reference this issue on Sep 26, 2023

    Do not try to delete a global handle with the local handles APIs (#588)

    b035ef8

    Do not try to delete a global handle with the local handles APIs (#588)

    144282d
  6. chrisvest
    added a commit that references this issue on Apr 2, 2025

    Do not try to delete a global handle with the local handles APIs (net…

    33c1427
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @normanmaurer
    normanmaurer

Labels

cleanupdefect

Type

No type

Projects

No projects

    Milestone

    • 3.5.8.Final

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.